OutputDebugString
OutputDebugString( ) is a Windows method for emitting a text string to some output device (window/file/external debugger).
Lazarus will show these messages in the IDE Window: Event Log accessible from Main menu > View > Debug Windows > Event Log. Alternatively, the shortcut keys Ctrl+Alt+V will open the Event Log window.
Note: You will need to include the Windows unit for the WinAPI in your application's Uses clause.
From the Free Pascal wiki, page "OutputDebugString", as it stood on 2021-02-01 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.
Talk about this page
Nobody has opened a bench for this page yet. Sign in to open one.
