debugging windows and drivers with Visual Studio

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.