问题
I am debugging C++ using VS2008. The watch window used for debugging stores all the dynamic values in various objects, arrays, variables etc.
I want to copy the entire contents on this watch window into a file so that I can forward the debugging context to someone else.
If I just selct all (CTRL + A), and paste the contents in a file then i wont get the branching information (i.e info like an object might have various sub-objects in it).
Can anyone kindly let me know how to do this in VS2008.
Thanks in advance.
回答1:
If you want to include the branching information, you have to manually expand each node. When you use CTRL+A and CTRL+C, the clipboard will contain only what is currently visible in the watch window.
来源:https://stackoverflow.com/questions/10043626/how-to-replicate-and-copy-the-contents-of-watch-window-in-visual-studio-into-a-f