Welcome to MSDN Blogs Sign in | Join | Help

Sara Ford's Weblog

My adventures embracing open source on CodePlex and at Microsoft

News

    • Did you know... All author proceeds go directly to sending Hurricane Katrina survivors to college.

      Microsoft Visual Studio Tips book

      Recent Entries

Did you know… How to use the Watch Window to change a variable’s value

Just like all the other tips, this one will work with Visual Studio .NET 2003 and Visual Studio 2005.

Were you ever debugging some code and wanted to quickly change a variable’s value without having to stop debugging?  Add the value to the watch window (remember, you can select the variable and drag it into the watch window).  Then, double-click the variable’s contents within the watch window, and you’ll be able to edit.  Click outside this field (or press enter to commit), and the variable will contain the new contents.

Happy Editing!

Posted: Thursday, April 07, 2005 9:55 PM by saraford

Comments

Jeffrey's Blog said:

# April 8, 2005 7:07 PM

Scott said:

For some reason, the Watch Window is not in any of the menus in my SSIS Visual Studio. I cannot seem to find it. Any ideas?

Sbean@mutualservice.com
# June 23, 2006 3:06 PM

ebenezer said:

hi Sara,

first of all, thanks for posting this tip.
now i know how to add a variable in the Watch window, but is there any way to remove it?

thank you in advance!
# September 9, 2006 10:12 AM
New Comments to this post are disabled
Page view tracker