conditional breakpoints

B

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!
 
L

Leon Mayne

Brian said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top