Re: breakpoint in unmanaged C++ DLL called from C# not recognized

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Oleg Starodumov (oleg_staro_at_hotmail.com)
Date: 11/01/04


Date: Mon, 1 Nov 2004 15:33:46 +0200


1. Make sure unmanaged debugging is enabled.

Project properties | Configuration Properties | Debugging | Enable Unmanaged Debugging

2. Run the application under debugger until completion, and check in Debug Output
window whether symbols have been loaded for the DLL.

There should be one of the following messages:

YourApp.exe: Loaded ...\YourDll.dll, Symbols loaded
YourApp.exe: Loaded ...\YourDll.dll, No symbols loaded
YourApp.exe: Loaded ...\YourDll.dll, Exports loaded

Which one?

Regards,
Oleg



Relevant Pages

  • Re: Using debug DirectX from MDX
    ... the debug runtime is necessary to get the debug output stream for debugging ... enabling unmanaged debugging just makes it possible to get to the underlying ... DX runtime debug output from a managed app. ...
    (microsoft.public.win32.programmer.directx.managed)
  • Re: playing wave files
    ... did you turn on unmanaged debugging, so you can see the debug output from ... the unmanaged API? ... > An unhandled exception of type ... >> all INVALIDCALLS generate debug output. ...
    (microsoft.public.win32.programmer.directx.managed)