How do I debug my DLL?

To debug a DLL using Visual C++, you must build a debugging version of the DLL and call it from an application. However, it is not necessary to build the debugging version of the calling application or to build the calling application with Visual C++. For more information about debugging a DLL, see Debugging DLLs or the following Knowledge Base articles:

  • "Debugging a Dynamic-Link Library (DLL) in Windows" (Q85221).

  • "Problems Loading a Debuggee That Uses a DLL" (Q119518).

See Also

Concepts

DLL Frequently Asked Questions