无法破坏内核驱动程序窗口的调试程序10

时间:2017-01-05 19:12:46

标签: windows visual-studio kernel driver

通过Hello world tutorial编写内核Windows驱动程序10,我在第二部分的第9步遇到了麻烦:

On the Debug menu, choose "Break All". The debugger on the host computer will break into the target computer. In the Debugger Immediate window, you can see the kernel debugging command prompt: kd>.`

问题是,当我执行Break All时,调试器不会停止,我无法访问调试器命令行。在步骤8中,我从VS 2015运行“Windows调试工具 - 内核调试器”,因为我没有简单的调试选项。

我的环境设置:

  • Visual Studio 2015
  • WDK 10
  • VirtualBox(使用Windows 10 x64)

目标计算机上的Windows 10是正确配置的,我可以连接它,一切似乎都能正常工作。

我还发现在这个Troubleshoting中有一节描述了在这种情况下我应该做什么(内核调试),但我实际上并不知道如何按照这些步骤做事。

1.Deploy the driver with breakpoints disabled.

我在运行调试器之前尝试添加任何断点。

2.Manually break into the kernel-mode debugger.

这一点不起作用,因为我认为我必须使用“Build all”命令。

我实际上并没有看到我做错了什么。因此,任何可能出错的建议以及如何打破内核重建都将受到赞赏。

0 个答案:

没有答案
相关问题