Jump to content
  • Advertisement
Sign in to follow this  
assainator

unmanaged dll debugging

This topic is 2856 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

heey all,

I'm creating an .NET wrapper for a unmanaged library I wrote.
The problem is that I'm having trouble debugging the code. If I set breakpoints in the library to see if the parameters from the .NET wrapper are pass right, the debugger never breaks at them.

How can I get these breakpoints to work?

I'm using visual studio 2010

The setup looks like this:
Test .NET application -> "TestNetApp.exe" - uses the classes from "Fluid.net.dll"
.Net Wrapper library -> "Fluid.net.dll" - Call's the C wrapper functions using P/invoke
Unmanaged C++ glue code library -> "FluidDotMetWrapper.dll" - Defines C wrapper functions .NET can call and work with ("Object_new", "Object_DoSomething" like functions).
UnmangedLibrary -> "Fluid2.dll" - The dll with the classes and functions I want to expose to .NET

thanks in advance,
assainator

Share this post


Link to post
Share on other sites
Advertisement
Check the "Enable unmanaged debugging" checkbox on the "Debug" property sheet of the project.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!