How do I run the Visual Studio 2012 memory profiler? I'm getting the error DA0002

霸气de小男生 提交于 2019-12-01 19:51:10

I was able to generate Sample Profiling Report by using "Developer Command Prompt for VS2012" following VSPerfCLREnv

VSPerfCLREnv /SampleOn
VSPerfCLREnv /SampleGC
VSPerfCmd /Start:Sample /Output:MyApp.exe.vsp /Launch:MyApp.exe

Then after closing MyApp.exe have executed VSPerfCmd.exe /Shutdown in same Command Prompt, and MyApp.exe.vsp was generated

VSPerfCmd.exe /Shutdown

This file MyApp.exe.vsp can be open in VS2012

Note: Executing VSPerfCmd with /GC option shows the same DA0002 error. My environment is Win7 x86.

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