开发者

Attaching native and managed debugger to a single process?

Is it possible to attach once in native, then open s开发者_JAVA百科econd VStudio window and attach in managed mode?


You can attach WinDbg as non-invasive, which allows you to attach even if another debugger such as VS is already attached. There's a check-box in the popup for Attach to process.

However, doing so will not allow you to control the application from WinDbg as only one debugger may control the debuggee. You can still view memory, threads, etc. (and you can load SOS/PSSCOR2 to inspect managed data).


You can only do this in .NET 4.0

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜