Search code examples
delphiprintingimmediate-window

Delphi debug.print function?


Does Delphi have a function similar to debug.print in VB, and if it does, how does one access the immediate window? Thanks.


Solution

  • You can call the Windows API function OutputDebugString. Anything that is sent to that function appears in the Event Log window in the IDE (View | Debug Windows | Event Log).