修改注册表解决 Windows7、Windows10 DbgView 不显示调试信息

xingyun86 2017-8-9 3730


默认情况下  Windows7、Windows10 系统使用 DebugView 无法查看到我们在驱动或者应用程序中打印的信息,如 OutputDebugStringKdPrint 等函数的输出。这需要在注册表中单独的设置使其可以打印相关信息。注册表如下:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Debug Print Filter]
"DEFAULT"=dword:0000000f

导入注册表后需要重启一下系统,随后打开 DebugView,并调用一个会打印信息的驱动或应用程序,即可看到输出的信息。

×
打赏作者
最新回复 (0)
只看楼主
全部楼主
返回