OutputDebugString
From Free Pascal wiki
Jump to navigationJump to search
OutputDebugString( ) is a Windows way of emitting a text string to some output device (window/file/external debugger).
Lazarus will show these messages in the Event Log window accessible from [View|Debug Windows|Event Log] <Ctrl_Alt-V>