all groups > visual studio .net debugging > august 2006 >
You're in the

visual studio .net debugging

group:

Debugging in VS - Detect if value is changed


Debugging in VS - Detect if value is changed SelimO
8/4/2006 5:47:01 PM
visual studio .net debugging:
Debugging in Visual Studio 2003

What I try to achieve is:

I have 2 breakpoints and between those 2 break points a variable whose value
is changed and I want to find which line changes it. I think in vb6, you were
able to put a watch with condition and whenever that value changed the
debugger stop in that line.
Ex:

1 dim x = 0
2 ...
3 …
4 …
5 …
6 …
7 x =55
8 …
9 …
10 …
11 …
12 …


So I have a breakpoint at line 2 and after this point I want to capture in
which line x value is changed. It should return line number 7. How can I do
this in Visual Studio 2003.

Thank you very much in advance.
RE: Debugging in VS - Detect if value is changed SelimO
8/9/2006 10:26:03 AM
Any idea?

[quoted text, click to view]
AddThis Social Bookmark Button