简体   繁体   English

使用Visual Studio进行事后调试C#应用

[英]Post-mortem debugging C# app with Visual Studio

I'm struggling to debug a .dmp file that contains .NET code (C#), it also contains managed C++ who calls into native code 我正在努力调试包含.NET代码(C#)的.dmp文件,该文件还包含调用本机代码的托管C ++

The .dmp file is a "full dump" .dmp文件是“完整转储”

If I load the .pdb in WinDBG, using SOS, life is good - however if I load into Visual Studio 2010 I'm unable to get CLR stacks? 如果我使用SOS在WinDBG中加载.pdb ,则生活会很好-但是,如果我加载至Visual Studio 2010,则无法获得CLR堆栈? It feels like VS doesn't recognize the app as a managed app 感觉像是VS无法识别该应用程序为托管应用程序

Are there tricks? 有花样吗? Should I use windbg instead (I'd really prefer VS) 我应该改用windbg吗(我真的更喜欢VS)

Does VS2012 perform better? VS2012性能更好吗?

试试这个链接,但我更喜欢将Windbg与源路径一起使用http://msdn.microsoft.com/en-us/library/windows/hardware/ff551063%28v=vs.85%29.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM