Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Automatically add break points
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

xxluda
Senior Member

29 Posts

Posted - Mar 06 2010 :  4:18:32 PM  Show Profile  Reply with Quote
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

Ludek Vodicka
Skipper Chief developer www.skipper18.com

Edited by - xxluda on Mar 06 2010 4:20:12 PM

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Mar 10 2010 :  1:42:09 PM  Show Profile  Reply with Quote
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.

zen is the art of being at one with the two'ness
Go to Top of Page

xxluda
Senior Member

29 Posts

Posted - Mar 10 2010 :  3:58:42 PM  Show Profile  Reply with Quote
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

Ludek Vodicka
Skipper Chief developer www.skipper18.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000