Vmware Workstation 12上的DbgView无法捕获输出 [英] DbgView on Vmware Workstation 12 not capturing output

查看:381
本文介绍了Vmware Workstation 12上的DbgView无法捕获输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在VMware Workstation 12上安装了Windows 10 x64 Os.我想在VM上进行驱动程序相关的开发,因此我启用了调试模式,并禁用了驱动程序签名.我可以成功加载设备驱动程序,但是没有显示我对DbgPrint的调用.我尝试将DbgView与"Capture Kernel"和"Capture global"一起使用,但仍未打印任何内容.我确实以管理员身份运行DbgView.我什至尝试在Windbg X64中打印,但不走运.有人处理过这个问题吗?

I have a windows 10 x64 Os installed on my VMware Workstation 12. I would like to do driver related development on the VM, so I have Debug mode enabled and Driver Signing disabled. I can load my device driver successfully but none of my calls to DbgPrint are being displayed. I tried to use DbgView with "Capture Kernel" and "Capture global" checked, still nothing gets printed. I did run DbgView as Administrator. I even tried printing in Windbg X64, no luck. Has anyone dealt with this issue?

推荐答案

默认情况下,从Vista/Server2008起禁用DbgPrint()输出.您可能需要在注册表中进行以下设置才能启用调试打印.

By default DbgPrint() outputs are disabled from Vista/Server2008 onwards. You may have to do below settings in registry to enable the debug prints.

  1. 打开注册表.
  2. 转到路径" HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Session Manager \ Debug打印过滤器".如果不存在调试打印过滤器",则创建它.
  3. 添加值" DEFAULT ": REG_DWORD : 0xFFFFFFFF ,然后重新启动.
  1. Open up the registry.
  2. Go to path, "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Debug Print Filter". If "Debug Print Filter" is not present then create it.
  3. Add value "DEFAULT" : REG_DWORD : 0xFFFFFFFF and then reboot.

重新启动后,您将可以获得调试打印.

After rebooting you will be able to get debug prints.

这篇关于Vmware Workstation 12上的DbgView无法捕获输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆