Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Automatically add break points

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
xxluda Posted - Mar 06 2010 : 4:18:32 PM
Hello

Could be possible for VA to automatically add breakpoints to all begining of methods/functions and to all conditions in the current file or selected methods ?

for example for function foo() would VA add breakpoins (B) :


void Foo()
{
(B)DoSomething();
   if ( TEST )
(B)  IsTrue();
   else
(B)  IsFalse()
}


This would be good for simple coverage testing.

Regards
2   L A T E S T    R E P L I E S    (Newest First)
xxluda Posted - Mar 10 2010 : 3:58:42 PM
Thank you for reply.

It is clear to me that this function isn't useful for everyone, but I think I'm not alone ;-).

The number of breakpoints should be definitely limited in some way, or user can choose only some methods.

I will look to macros and try it.

Regards
feline Posted - Mar 10 2010 : 1:42:09 PM
This is an interesting idea, but I am not sure how useful it would be to most of our users. The more I think about this, the more I see some appeal, but the number of breakpoints it would add would really irritate me

You should be able to do something similar fairly easily with an IDE macro. This IDE macro shows how to find the start and end of VB functions:

http://support.wholetomato.com?W444

You can use a similar idea, just find likes that match a given pattern, move down one line, and set a breakpoint.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000