Difference between revisions of "OutputDebugString"

From Free Pascal wiki
Jump to navigationJump to search
(Add linked menu breadcrumb trail; add key caps; add missing categories)
(Add requirement for use)
 
Line 2: Line 2:
  
 
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.
 
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:Lazarus]]

Latest revision as of 11: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.