win7下KdPrint不显示日志(debugview)

在Windows Vista中,DbgPrint和KdPrint消息默认不会显示,因为它们被映射到DbgPrintEx并受到组件名和级别的过滤。要启用输出,可以通过修改注册表键"HKLM/SYSTEM/CCS/Control/Session Manager/Debug Print Filter"的DEFAULT值为8或0xF,或者使用Kd_DPFLTR_MASK或Kd_DEFAULT_MASK设置调试消息过滤器。此外,可以使用SetDbgPrintFiltering工具来设置过滤器。
摘要由CSDN通过智能技术生成

The problem: Your DbgPrint or KdPrint messages don't appear in WinDbg (or KD) when you run your driver on Windows Vista.

The reason?  Vista automatically maps DbgPrint and friends to DbgPrintEx.  Now, you may recall that DbgPrintEx allows you to control the conditions under which messages will be sent to the kernel debugger by filtering messages via a component name and level in the function call and an associated filter mask in either the registry or in memory. 

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值