.NET and Native Dll Debugging

V

vishuonline

Hi Folks,

I have searched on search engines for previous dicsussions dealing with
this.. but didnt find em any useful... so here I am..
I am having a .NET (BV.NET) application in which I am calling a managed
dll(C#), which inturn is calling a native dll (c++). OK. Now in the
VB.NET application's project, I add the project of C#(dll). Now while
debugging the VB.NET app, I can step into the source code of c#(dll).
But when the c# code(dll) calls the native dll, I am not able to
source-level debugging of the native dll. I have my native dll project
open in VC6.0, but the control flow does not go there. I have also
enabled the unmanaged code debugging in the VB.NET project..

Please throw some light

Best Regards,
 
W

William DePalo [MVP VC++]

I have searched on search engines for previous dicsussions dealing with
this.. but didnt find em any useful... so here I am..
I am having a .NET (BV.NET) application in which I am calling a managed
dll(C#), which inturn is calling a native dll (c++). OK. Now in the
VB.NET application's project, I add the project of C#(dll). Now while
debugging the VB.NET app, I can step into the source code of c#(dll).
But when the c# code(dll) calls the native dll, I am not able to
source-level debugging of the native dll. I have my native dll project
open in VC6.0, but the control flow does not go there. I have also
enabled the unmanaged code debugging in the VB.NET project..

If you are sure about having enabled mixed-mode debugging then the next
obvious thing to check is that the DLL has been built with debugging
information and that a PDB (program data base) is available in the directory
with the DLL.

Regards,
Will
 

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