How can I save/print values in my WATCH list in Visual Studio 2008?

Posted by Rising Star on Stack Overflow See other posts from Stack Overflow or by Rising Star
Published on 2010-06-17T17:47:10Z Indexed on 2010/06/17 17:53 UTC
Read the original article Hit count: 158

When I attach the Visual Studio 2008 debugger to my web server process, I sometimes browse a large amount of data in my watch list. Suppose I have an array of string variable that I expand to show 20 entries. It seems that the only way to save these values is to copy and paste them one at a time. I have gone so far as to do a screen-shot in order to have a record of what the values were (to refer to later or print a hard copy).

Is there an easy way to save and print these values? I am familiar with the new "IntelliTrace" feature in Visual Studio 2010 Ultimate, but it seems overkill for this purpose.

I just want to take something like an array of strings and save it for later reference once I've stopped the debugger.

What's a good way to do this?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about visual-studio-2008