How to replicate and copy the contents of watch window in Visual studio into a file (With the branching info being present in it)

泪湿孤枕 提交于 2019-12-25 02:29:00

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!