Difference between revisions of "OutputDebugString"

From Free Pascal wiki
Jump to navigationJump to search
(Add requirement for use)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''OutputDebugString( )''' is a Windows way of emitting a text string to some output device (window/file/external debugger).
+
'''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 [View|Debug Windows|Event Log] <Ctrl_Alt-V>
+
Lazarus will show these messages in the [[IDE Window: Event Log]] accessible from [[Main menu|Main menu]] > [[Main menu#View|View]] > Debug Windows > Event Log. Alternatively, the shortcut keys {{keypress|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.
 +
 
 +
[[Category:Lazarus]]
 +
[[Category:Windows]]
 +
[[Category:Debugging]]
 +
[[Category:Logging]]

Latest revision as of 12:19, 1 February 2021

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.