Did you know– You can Drag-Drop & Copy-Paste code inside Watch Window in Visual Studio?

By | February 15, 2016

Watch Windows is one of most powerful and commonly used debugging tool inside Visual Studio.  This tool is commonly used to explore the objects, values, properties and other aspect during debugging.  To inspect any object, while debugging we generally right click on the code block and select “Add to Watch” to explore or we can also the keyboard shortcuts as well.

Well, you can drag and drop the code expression from Visual Studio Editor to Watch Window .

CopyWatch

The drag and drop also works inside watch window as well.

 

Related Tip : Different Types of Display Format with in Watch Window

 

Similar to Drag & Drop, you can also do a copy and past the code expression inside Watch Window.

CopyWatch1

This works really interestingly when you are using Multiple Watch Window as well.

 

Related Tip : Calling Methods From Watch Window

 

CopyWatch2w

You can refer to one of very old post – 10 Tips you should know about “Watch Window” While debugging in Visual Studio

Hope this helps !

3 thoughts on “Did you know– You can Drag-Drop & Copy-Paste code inside Watch Window in Visual Studio?

  1. Pingback: Dew Drop – February 16, 2016 (#2189) | Morning Dew

  2. Pingback: Compelling Sunday – 22 Posts on Programming and QA

  3. Pingback: Visual Studio – Developer Top Ten for Feb 23rd, 2016 - Dmitry Lyalin

Comments are closed.