### Debug a DLL

To debug functions within a DLL, you first need to do the following:

1. Compile the DLL source files with symbolic information, if you have access to them and you want to be able to debug DLL functions at the source code level.
2. If you do not already have an executable program that calls the DLL functions you want to debug, write such a program and link it to the DLL. See your compiler documentation for information on how to do this.

Set a Deferred Breakpoint
Start Debugging a DLL from a Load Occurrence Breakpoint Dialog
Start Debugging a DLL from a Source Window
Start Debugging a DLL from the Breakpoints List Window
Start Debugging a DLL from the Session Control Window