Due to my limited ability, translation deficiencies please understand, welcome criticism: [Email protected]
MSDN Original: https://msdn.microsoft.com/zh-cn/library/windows/hardware/hh406281 (v=vs.85). aspx
Starting with Windows Driver Kit (WDK) 8, both the drive development environment and the Windows Debugger are integrated into Visual Studio. In this integrated environment, most of the tools you need to develop are: write code, compile, package, test, Debug, publish, all in Visual Studio interface.
To get this integrated development environment, you first have to install visual Studio, then install the Windows Driver Kit (WDK), and see the Windows Driver Kit (WDK) for more information.
In general, kernel-mode debugging requires two computers, and the debugger runs on the hostcomputer, and the debugged code is placed on the targetcomputer. The target machine is also called the tester (testcomputer). You can do user-mode debugging on a single computer. But in some cases, you might want to debug a running user-mode process on another target machine.
In the Visual Studio environment, you can configure the target machine for user-mode and kernel-mode debugging. You can set up a user-mode session, you can attach a user-mode process or run and debug a user process on the host or target machine. You can analyze the dump file. In Visual Studio, you can mark (sign), publish, install, and load drivers in the target machine.
These articles will tell you how to perform different debugging tasks with Visual Studio when debugging drivers.
- Debugging a User-mode Process Using Visual Studio
- Opening a Dump File Using Visual Studio
- Kernel-mode Debugging in Visual Studio
- Ending a debugging Session in Visual Studio
- Setting Symbol and executable Image Paths in Visual Studio
- Remote Debugging Using Visual Studio
- Entering Debugger Commands in Visual Studio
- Setting breakpoints in Visual Studio
- Viewing the call Stack in Visual Studio
- Source Code Debugging in Visual Studio
- Viewing and Editing Memory and registers in Visual Studio
- Controlling Threads and Processes in Visual Studio
- Configuring Exceptions and Events in Visual Studio
- Keeping a Log File in Visual Studio
debugging windows and drivers with Visual Studio