This is a mirror of official site: http://jasper-net.blogspot.com/

10 Tips you should know about “Watch Window” While debugging in Visual Studio

| Wednesday, October 27, 2010
Watch windows is one of most commonly used debugging tool with Visual Studio. We generally used to explore the objects, values, properties and other nested objects as a tree structure. Most of the time we used watch window to only view the values or change the current object properties values to see the effects of changed object during debugging. But we can use watch windows for many different  purposes. In this blog post I am going to show 10 Tips, that may help you while dealing with Watch Window.

Tips 1 : Calling Methods From Watch Window
As I said earlier, most of time we used watch window to explore the objects and it’s properties but  we can call a methods from watch window as well. If you are exploring some objects inside watch window, you can simple call any of the methods for that object inside watch window.

Tips 2 : Drag-Drop & Copy-Paste Code inside Watch Window
Tips 3: Use Runtime Object’s With Help of Immediate  Window
Tips 4 : Using Multiple Watch Window
Tips 5 : Moving Values between multiple Watch Window
Tips 6 : Create Object ID

Read more: Abhijit's World of .NET

Posted via email from .NET Info