Saturday, April 7, 2012

How to Debug in DLL


1. Open Visual Studio 2010. Launch the 'Solution Explorer' utility from the 'Tools' menu.
2. Select the project that handles the DLL you wish to debug within the Solution Explorer, and then select the 'Property Pages' option from the 'View' menu.
3. Select the 'Debugging' category from within the 'Configuration Properties' folder.
4. Write or paste the path to the '.EXE' that handles the DLL you wish to debug in the command box.
5. Add any additional arguments in the 'Command Arguments' box if needed, and then click the 'Debug' button to begin debugging the DLL. The debugging process will take a variable length of time, depending on how large the program is and at which point in its execution the debugger encounters an error. For most programs, it will be only a few short minutes before the debugging is complete and you are prompted with the results.