Re: Saving breakpoints
- From: asperamanca@xxxxxxxxx
- Date: Fri, 26 Sep 2008 06:46:53 -0700 (PDT)
On Sep 26, 3:32 pm, "MikeD" <nob...@xxxxxxxxxxx> wrote:
However, if you need to preserve "breakpoints", I recommend you add
Debug.Assert statements into your code. You can also use the Stop statement
to enter into break mode, but you must be very (VERY) careful to remove them
because Stop statements will terminate your compiled program, whereas
Debug.Assert statements don't even get compiled (with one exception, consult
VB's Help for more info).
--
Mike
Microsoft MVP Visual Basic
Thanks for your reply, Mike!
Unfortunately, adding a Debug.Assert is not an option. Since I am
whitebox-testing the code, it must not change during the course of the
test. Plus, my self-written add-in that guides me to the code lines I
need to test is line-number based, I would cause myself some extra
grief if I added code lines.
The strange thing: I once considered to add a breakpoint save/restore
into my own add-in. Back then, I couldn't find any interface to access
breakpoint data of the IDE.
Robert
.
- Follow-Ups:
- Re: Saving breakpoints
- From: Ralph
- Re: Saving breakpoints
- References:
- Saving breakpoints
- From: asperamanca
- Re: Saving breakpoints
- From: MikeD
- Saving breakpoints
- Prev by Date: Re: I don't know how much I should charge for my source code and copyright
- Next by Date: Re: Fast ListView
- Previous by thread: Re: Saving breakpoints
- Next by thread: Re: Saving breakpoints
- Index(es):