Visual Studio 2015 Diagnostic Tools Memory Usage & C++ Debugging

江枫思渺然 提交于 2019-12-02 18:17:01

问题


I have Visual Studio Enterprise 2015 and a native C++ project. I would like to analyze memory usage. Our software runs as a Windows service, so I typically debug by attaching to the running service. I found that when I do that the Diagnostic Tools Memory Usage is not available:

However, when I start the software through the debugger (by pressing F5) the Memory Usage tool shows up:

Is it supposed to be like that, ie. is the Memory Usage Diagnostic Tool not supported when attaching to a process?

The Memory Usage Diagnostic Tool is missing both when attaching to a locally running process as well as when remote debugging (attaching to a process on another machine).


回答1:


The Diagnostic Tools native memory profiler will support attaching to a process in the upcoming Visual Studio 2015 Update 1. There will be a CTP preview release coming out this Fall that you can try out.



来源:https://stackoverflow.com/questions/32786173/visual-studio-2015-diagnostic-tools-memory-usage-c-debugging

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