Topic Path: Symbol Reference > Functions > DebugOutput Function
ContentsIndexHome
PreviousUpNext
DebugOutput Function

Writes output used during debugging.

File
procedure DebugOutput(
    const AText: string
);
Parameters 
Description 
AText 
Value to be written as debugging output. 

DebugOutput is a procedure used to send the string in AText as debugging output. DebugOutput encapsulates the platform-specific calls needed to send the string to the debugging output for the current application. 

 

On the Linux platform, DebugOutput writes the message in AText followed by the end-of-line character sequence (EOL) to the standard error handle (StdErr). 

 

On the Windows platform, DebugOutput writes the message in AText using the WIN32 API procedure OutputDebugString. 

 

For the .Net platform, DebugOutput writes the message in AText using the framework method System.Diagnostics.Debug.WriteLine.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.