D
dvestal
Sorry if this double-posts, google just crashed on me. I'm trying to
debug an unmanaged C++ DLL from a C# application. The C# app
references the DLL using DLLImport attributes. They are in the same
solution.
Here's what I've done so far:
1) Enabled unmanaged debugging in the C# application's property pages.
2) Set the DLL's output folder to the same location as the C# app's
output folder.
3) Enabled debug info in the C++ DLL, and verified that a PDB file is
created in the output directory.
4) Enabled the "debuggable assembly" attribute in the DLL.
5) Compiled everything in debug mode, obviously.
6) In the Modules window, verified that the DLL appears, and that
symbols were loaded for it.
But I can't step into the DLL's source code. What am I missing?
debug an unmanaged C++ DLL from a C# application. The C# app
references the DLL using DLLImport attributes. They are in the same
solution.
Here's what I've done so far:
1) Enabled unmanaged debugging in the C# application's property pages.
2) Set the DLL's output folder to the same location as the C# app's
output folder.
3) Enabled debug info in the C++ DLL, and verified that a PDB file is
created in the output directory.
4) Enabled the "debuggable assembly" attribute in the DLL.
5) Compiled everything in debug mode, obviously.
6) In the Modules window, verified that the DLL appears, and that
symbols were loaded for it.
But I can't step into the DLL's source code. What am I missing?