On Tue, 05 Jun 2007 09:37:34 -0700, Fred Chateau
<we*******@hotelmotelnow.comwrote:
I need to loop through a method 599 times, then break at the 600th loop
in
the debugger.
Can I do that in code?
You can write code that checks your loop counter and then calls
Debugger.Break(). Or you can simply set a conditional breakpoint in the
debugger, that checks the loop counter and only breaks at a specific line
when the counter matches the condition you specify.
Pete