Patrick\’s Bytes

3, June 2008

Articles about debugging in Visual Studio

Filed under: Visual Studio — patrickyong @ 10:37 am

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

Basic Debugging features in Visual Studio 2005

New debugging features in Visual Studio 2005

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: