Indy 9 | Content | Index | Reference

DebugOutput
Unit: IdGlobal
Sends a string to the system debugger.

    procedure DebugOutput(const AText: string);

Unit
IdGlobal
Parameters
const AText: string
Value to be sent to the debugger.
Description
DebugOutput is a procedure used to send the string in AText to either the active debugger for a process, or the system debugger. If there is no active debugger for the current application, DebugOutput has no effect.

DebugOutput encapsulates the platform-specific calls needed to send the string to the debugger for the current application. For the Windows platform, the WIN32 API procedure is OutputDebugString. On the Linux platform, DebugOutput writes the message followed by CRLF to the standard error handle (StdErr).

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.