• Advertisement
Sign in to follow this  

unmanaged dll debugging

This topic is 2639 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,

Share this post

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

  • Advertisement