Home All Groups Group Topic Archive Search About

conditional breakpoints

Author
6 Mar 2006 9:10 PM
Brian Henry
How do you do conditional break points in .net? say i want to only break if
a value changes or if its equal a certain state or value... any examples of
this? thanks!

Author
6 Mar 2006 9:34 PM
Leon Mayne
Brian Henry wrote:
> How do you do conditional break points in .net? say i want to only
> break if a value changes or if its equal a certain state or value...
> any examples of this? thanks!

Hello,
Right-click on the red circle in the left bar on your breakpoint line and
select 'Condition'. You can then set a condition such as blnTestVal and
select Is True, or enter a variable name and select Has Changed.

HTH