Cannot Debug Unmanaged Dll from C#

Posted by JustSmith on Stack Overflow See other posts from Stack Overflow or by JustSmith
Published on 2009-11-16T21:12:32Z Indexed on 2010/03/24 1:53 UTC
Read the original article Hit count: 338

I have a DLL that was written in C++ and called from a C# application. The DLL is unmanaged code. If I copy the DLL and its .pdb files with a post build event to the C# app's debug execution dir I still can't hit any break points I put into the DLL code. The break point has a message attached to it saying that "no symbols have been loaded for this document".

What else do I have to do to get the debugging in the dll source?

I have "Tools->Options->Debugging->General->Enable only my code" Disabled. The DLL is being compiled with "Runtime tracking and disable optimizations (/ASSEMBLYDEBUG)" and Generate Debug Info to "Yes (/DEBUG)"

© Stack Overflow or respective owner

Related posts about visual-studio-2008

Related posts about c#