您的位置:首页 > 编程语言 > PHP开发

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

2013-08-26 18:49 981 查看
确认下面的情况,看看是否有效(我用的是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帮助说明。

转自:/article/11361932.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: