People say that before they do something, they have to do the foreplay before it's cool, and I always agree with that, and I'll summarize the preparations for the windows8.1 WDK.
Software Installation:
1, VS2013.
2, WDK8.1
3.8.1\romote\x86 (x64) \WDK Test Target setup x86-x86_en-us.exe (for remote debugging use) under Windows Kits installation directory
Debug environment settings:
After installing WDK8.1, the tools for driving development, deployment, debugging, and so on are integrated into the VS2013 IDE, and we need to make the necessary settings for the development environment before debugging:
1, the target host configuration:
After installing WDK8.1, the VS2013 menu bar has more driver items. Configure the target host with the Hierarchy menu item driver->test->configure computers->add a new computer:
The first is remote login, this seems to require the target host administrator account, normal account can not log in.
The second is the debugging connection type, has the serial port, the network port, the USB port and so on many kinds of connection types, everybody should be more inclined to the net mouth bar, simple convenience. However, it should be noted that both the host and the target machine must be Windows8 or above to take the network port connection, if the host is Windows7, it can only take other connection mode.
Start Debugging: Remote drive debugging can not be as simple as the general program to start debugging, you want to use the tool---Attach to the Process dialog box to set. For example debug kernel mode driver, then transfer (transport) Select Windows kernel mode debugger; qualifier (qualitier) Select target machine name.
End Debugging: General End method, click to stop Debugging on it.
[Windows Driver]windows8.1 driver debug foreplay