DbgView 显示OutputDebugString输出内容 不能显示问题总结

确认下面的情况,看看是否有效(我用的是4.76版本):

 

1. 是否有其他编辑器作为了Debug信息输出窗口。 例如:vc在debug时调用OutputDebugString的内容不会输出到DbgView上。

2.版本是否正确。 分两种:

Under Windows 9x/Me DebugView can capture output from the following sources:

  • Win32 OutputDebugString

  • Win16 OutputDebugString

  • Kernel-mode Out_Debug_String

  • Kernel-mode _Debug_Printf_Service

Under Windows NT and Win2k DebugView can capture:

  • Win32 OutputDebugString

  • Kernel-mode DbgPrint

  • All kernel-mode variants of DbgPrint implemented in Windows XP and .NET Server

3.如果是在Windows7下,可能需要设置注册表(这个是从网上看到的,但是我不设置好像也可以)。如:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager,打开或者创建子项Debug Print Filter,

     然后新建一个DWORD值DEFAULT,将其设置成0xF,重启即可。

 

4. 设置Options/Force Carriage Returns 为选择状态,否则有可能不能实时看到你输出的信息,具体原因看DbgView帮助说明。

 

以上都有可能影响哦。

 

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值