Articles about debugging in Visual Studio
Teaching debugging and exception handling in Visual Studio today and some interesting questions pops up. Among them is how come certain variable’s value cannot be changed during debugging while the others can?
I haven’t found a solid answer yet except from frice’s blog:
Like the Immediate window, sometimes you can change local variable values by selecting the variable you want to change and clicking the Value box. If VB lets you to change the variable, the Value field will let you edit it. Some things can’t be changed though. For example, you can’t change objects, such as the properties of a control, or certain Variant variables. In cases where you can’t change the values of a variable in the Locals window, you can use the Immediate window to test the change.
Below are some related articles/ blog post.
VS 2005: Cool debugging tricks
