Debugging both managed C # code and unmanaged C ++ code in one solution

I have a solution with an unmanaged dll dll project in it and a C # managed project that calls a dll using PInvoke. Is it possible to debug both managed and unmanaged code so that I can see what is happening “inside” this DLL?

+5
source share
1 answer

Yeah. If I am not mistaken, he should do it automatically if the profile is set to "Debug".

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

+8

All Articles