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
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
相关文章推荐
- DbgView 显示OutputDebugString输出内容 不能显示问题总结
- DbgView不能显示OutputDebugString的输出内容
- 在c#中将dataset输出成xml内容的xls文件,解决其它输出不能在excel中显示“001”的前导0的问题
- 服务程序使用OutputDebugString,DbgView接收不到调试信息问题
- dbgview OutputDebugString输出函数
- debugger显示内容函数 [VOID OutputDebugString]
- OutputDebugString输出调试信息
- cout不能直接输出string字符串的问题
- win32调试工具原理OutputDebugString以及如何获取输出信息
- ireport+struts2集成开发总结一: 解决HTML图片背景不能显示的问题
- OutputDebugString输出调试信息
- 关于输出较长 行数较多的结果不能全部显示 屏幕缓存区问题
- 7.10 WPF 流水账 Tooltip自定义模版后不能显示内容的问题——ControlTemplate的秘密
- 问题1:解决直接输出类的内容无法显示中文的问题
- 使用OutputDebugString将调试信息输出
- 关于新加的SQLite数据库内容不能同步显示到控件中的问题分析.txt
- 调试输出信息OutPutDebugString
- 调试输出信息OutPutDebugString
- Debug监视器(监视运行期程序通过API函数OutputDebugString输出的字符串)
- 解决 DOS下cmd命令界面 内容不能完全显示问题