Click to See Complete Forum and Search --> : .NET debugging


sriniviji
September 6th, 2002, 11:01 AM
When I run my .NET object in debug mode, I see the wrong values for public variables in Watch window. If I set 1 to the variable, I see some big number. But Iam able to see the local variables properly.
Should I watch public variable in different window?
Anyone having any ideas?

Thanks
Srini

Gjain
September 12th, 2002, 11:15 AM
The reason may be that u have more than one watch windows that has a function that operates on that variable, there by changing the value of the variable from the expected. Check all your watch windows.
If this is not the problem check your code, somewhere u might be manipulating that variable.
Hope this helps :)
GJain