开发者

debugging both managed c# code and unmanaged c++ code in one solution

I have a solution with an unmanaged c++ dll project in it and a c# managed project that calls dll using PInvoke. Is it possibl开发者_如何学Goe to debug both managed and unmanaged code so that I see what is going on "inside" of that dll?


Yup. If I'm not mistaken, it should do this automatically, as long as the profile is set to "Debug".

Edit: Oh, I forgot one thing: In the debugging options for the managed project, make sure you have the option "Enable unmanaged code debugging". Then it should step into the unmanaged code.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜