C++/CLI mixed mode debugging hangs (Frequently)
I am facing a process hang problem while debugging in mixed mode C++/CLI with a native application. This is unbearable, almost 70% of my debugging this happens and I need to restart the process again and again.
Is there any hotfix or sol开发者_StackOverflow中文版ution for this?
One thing to do is, from native code avoiding stepping into managed code. For me, that crashes my processes 100% of the time. Instead, place a breakpoint in the managed code that you want to get to. Debugging C++/CLI is awkward at best, usually flaky, though it is much improved over VS2008.
Not sure if you are running into this exact scenario.
EDIT: I have been having much better luck (in terms of stability) debugging C++/CLI on Win7, as compared with my WinXP dev machine.
精彩评论