DebugView使用说明

    技术2022-07-11  85

    简介

    DebugView是一个系统调试信息捕获工具,如果在程序中使用用户模式使用OutputDebugString,或者内核模式使用

    Out_Debug_String,DbgPrint ,_Debug_Printf_Service,编译程序选择Debug版本,然后打开debugview,运行程序后就可以看到相应的输出信息,内核模式需要勾选Capture kernel,应用模式需要勾选Caputer Win32.

    设置说明

    如果设置没有问题,但是Debugview无法捕获输出信息,这个时候可以查看注册表是否缺少项Debug Print Filter,如果缺少,新建文本,拷贝如下保存后修改后缀为.reg

    Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Debug Print Filter] "DEFAULT"=dword:0000000f
    Processed: 0.011, SQL: 9