Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where variable was updated
Message
From
23/09/2004 14:54:24
Keith Payne
Technical Marketing Solutions
Florida, United States
 
 
To
23/09/2004 06:57:25
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00945303
Message ID:
00945484
Views:
25
>hi,
>
>i've tried to do some tracing with the debugger of vs. i used the 'Watch' and 'Locals' to monitor my variables at the same time using the 'Step Into' to see which lines affect the variables in my 'Watch' list. strange thing is my variable 'Name' changes values but the statements that were executed via the 'Step Into' did not pass any statement that would have changed the value of 'Name'. where should i look to find the code that affects my 'Name' variable?
>
>thanks.

Bobby,

You are probably seeing a change in scope, not value. Based on the variable name, the watch window will display the value of the variable matching that name with the smallest scope. Which is the same way that .NET handles the scope of variables with the same name.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform