Debugging

K

kelvin.koogan

I have a C# application which references a C++.NET DLL which links to
a C++/MFC DLL. When I am debugging I cannot step from the C++.NET DLL
into the C++/MFC DLL. Any idea why? (If I write a little test app in C+
+.NET then I can step into the MFC DLL from the .NET DLL).

TIA,
KK
 
C

Carl Daniel [VC++ MVP]

I have a C# application which references a C++.NET DLL which links to
a C++/MFC DLL. When I am debugging I cannot step from the C++.NET DLL
into the C++/MFC DLL. Any idea why? (If I write a little test app in
C+ +.NET then I can step into the MFC DLL from the .NET DLL).

There's neither a language nor a product named "C++.NET". I'm assuming that
by this you're talking about managed C++/CLI code compiled with /CLR by VC
2005.

You probably don't have "mixed mode debugging" turned on. In your C#
project, go to Project|Properties|Debug and check the "Enable unmanaged
code" checkbox.

-cd
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top