Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any way to export the contents of the watch window in VS2010

Is there any way to export the contents of the watch window in VS2010 similar to exporting break points. I need to be able to export the complete contents of the watch window(including all sub nodes) to a file.

like image 729
Sathwick Avatar asked Oct 05 '22 19:10

Sathwick


2 Answers

I doubt it is possible to export contents of the watch window.

Alternative way - Export the datatips. 1. In a source window, place the mouse pointer over any variable in the current scope. A DataTip appears. 2. Right-click on a variable, then click Pin to source. 3. On the Debug menu, click Export/Import DataTips.

like image 165
Flami Avatar answered Oct 13 '22 12:10

Flami


If you're just wanting to save the aOn the watch window, click on the root/parent object, right-click -> select all.

Then Copy and paste into blank excel workbook.

like image 28
Matthew St. Lawrence Avatar answered Oct 13 '22 11:10

Matthew St. Lawrence