1, in the "solution Explorer" to find the DLL project to debug, right-click, select Set as Startup Project, set the DLL to debug startup project, then select the DLL project, right-click, select Properties, Open the Property page Settings page;
2, in the Properties page, select the Configuration Properties drop-down menu, and then select Debugging;
3, in the debugging page, in the first row Debugger to launch drop-down menu, if it is local debugging to select Regional Windows Debugger, remote debugging to choose the remotely Windows Debugger;
4. On the Debugging page, select the drop-down menu in the command, locate the application that references the DLL, enter $ (targetfilename) in command arguments, or select it yourself from the drop-down box, and then after this string Input DLL file exported function name:
If I have two export functions: Createplugobj () and Releaseplugobj (), it should be written as:
$ (targetfilename) createplugobj; Releaseplugobj
5. In the debugging page, working directory drop-down menu, select the current working directory, such as Debug.
So set a breakpoint in the code snippet to be debugged by the DLL project and start debugging to jump to the breakpoint in the DLL
Methods for debugging DLL engineering in VS2010 C + +