debugview

How to view output of OutputDebugString?

谁都会走 提交于 2019-11-28 08:34:39
I want to use OutputDebugString() in my application and then have the option to show it in a separate viewer when the application is deployed in the field. That is to say, I don't want to have to change a flag and rebuild my .exe to turn debugging on and off. Googling around, it seems like DebugView should handle that, but neither it, nor TraceTool show any output from this code. unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TForm1 = class(TForm) procedure

How to view output of OutputDebugString?

倾然丶 夕夏残阳落幕 提交于 2019-11-27 02:17:48
问题 I want to use OutputDebugString() in my application and then have the option to show it in a separate viewer when the application is deployed in the field. That is to say, I don't want to have to change a flag and rebuild my .exe to turn debugging on and off. Googling around, it seems like DebugView should handle that, but neither it, nor TraceTool show any output from this code. unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl

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