No output from DebugView

烂漫一生 提交于 2019-11-27 01:40:14

问题


I've installed DebugView 4.79 on Windows 7 and Windows 8 64 bit machines and a Windows 7 32 bit machine. On all of them I see no output from DebugView when starting it as Administrator. I'm trying to debug an application that uses a CLI/C++ component with ATLTRACE calls in it.

I've enabled capture events, capture win32 and capture global win32 and see nothing so I'm not sure what's going on.


回答1:


By default DbgPrint() output is disabled in Vista/Server2008 and above. The following setting in the registry should enable the debug prints.

  1. Open up the registry
  2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Debug Print Filter
  3. Add the following value DEFAULT : REG_DWORD : 0xFFFFFFFF
  4. Reboot



回答2:


IF "Debug Print Filter" doesn't exist, you should create it manually




回答3:


It sounds like there may be a bug in 4.79.

Try rolling back to 4.76

Checklist:

  • Run as Admin / Elevated privileges
  • Enable Verbose Kernel Output (if applicable)
  • Also, ensure that the .exe isn't blocked



回答4:


You will need to make sure your process is running on same user or not. EX: Your process is running in SYSTEM user. Your debug View is running on current user.

If not same user then you will need to start debug view as elevated mode.



来源:https://stackoverflow.com/questions/12494300/no-output-from-debugview

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!