Inter-project debugging

  • Thread starter Joel Whitehouse
  • 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
 
W

William DePalo [MVP VC++]

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
 
J

Joel Whitehouse

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
 

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