conditional break

  • Thread starter Thread starter ichor
  • Start date Start date
I

ichor

hi
i want to add a conditional break in my vb.net code. like we could in vb6.
for example if the counter = 10 then break at that point.

kindly let me know if thats possible in vb.net

Ichor
 
Hi,

Add a breakpoint to the line you want. Right click on the break
point and select breakpoint properties. Take a look at condition and hit
count.

Ken
--------------------
hi
i want to add a conditional break in my vb.net code. like we could in vb6.
for example if the counter = 10 then break at that point.

kindly let me know if thats possible in vb.net

Ichor
 
hi
i am using what you just described,
however, i have a huge program and i dont know where the values of different
properties are changing. hence i want to break when the value of a variable
= 22.(as an example)
if i knew where it is changing i can easily put a break point there. but the
problem is i dont know where thevalues are changing. like in vb6 i could
just put a conditional break saying when vriable = 22 break. it would break
exactly when the value changed. and i didnt have to bother to put a break
point in an exact location. in this new breakpoint dialog in vb.net i have
to specify either the function name or file name. and the exact line no as
well. i hope i have made myself clear.
thnx
 
Back
Top