General Microsoft Visual Studio debugging tips
After you install your driver, you can create a debugging project in Microsoft Visual Studio 2012 by following these steps:
- Open Visual Studio 2012 and select File > New > Project from Existing Code.
- Follow the steps in the Welcome to the Create Project from Existing Code Files Wizard. Specify the language, the location of your driver source files, a project name, and so on.
- Open your newly created project.
- Select Debug/Attach to Process. In the list of available processes that appears in the Attach to Process dialog box, select WudfHost.exe.
After you complete these steps, you can set breakpoints in your driver’s source code and debug your driver.
Build date: 11/29/2012