Inter-project debugging

  • Thread starter Thread starter Joel Whitehouse
  • Start date Start date
J

Joel Whitehouse

Hello All,

I wrote a .dll in C++, and I'm calling it's funtions from a VB.NET
program. I have both the VB and the C++ projects in the same solution.

When I debug, I can step through the VB.NET program, but when I get to
the .dll function call, it just does a "Step Over" instead of stepping
*Into* my .dll's code, even though I have the .dll project as part of
the solution.

How can I make the program step into my .dll's code when I'm debugging?

Thanks!

-Joel
 
Joel Whitehouse said:
I wrote a .dll in C++, and I'm calling it's funtions from a VB.NET
program. I have both the VB and the C++ projects in the same solution.

When I debug, I can step through the VB.NET program, but when I get to the
.dll function call, it just does a "Step Over" instead of stepping *Into*
my .dll's code, even though I have the .dll project as part of the
solution.

How can I make the program step into my .dll's code when I'm debugging?

Highlight the VB.Net project and choose 'Properties' from the menu. Then
click the 'Configuration Properties' folder and the 'Debugging' item below
it. Find the checkbox labeled "Unmanaged Code Debugging" and select the
option.

Be warned, this option is often painfully slow.

Regards,
Will
 
William said:
Highlight the VB.Net project and choose 'Properties' from the menu. Then
click the 'Configuration Properties' folder and the 'Debugging' item below
it. Find the checkbox labeled "Unmanaged Code Debugging" and select the
option.

Be warned, this option is often painfully slow.

Regards,
Will
Thanks so much! This helps me to no end! If I had $50 to hand you...

-Joel
 
Back
Top