Difference between revisions of "System.DebugLog"

From Xojo Documentation

Line 17: Line 17:
[[Category:Language Debugging]]

Revision as of 14:09, 18 January 2019


System.DebugLog(msg As String)

New in 5.5

Supported for all project types and targets.

Outputs msg to the system debug log.


On Windows, it logs to the debugger, so programs like DebugView can be used to view the string. On macOS, it logs to the Console. On Linux, it prints the message to StdErr.

You can also view DebugLog output using the Messages panel in Xojo which is displayed by clicking the Messages icon at the bottom of the Xojo workspace window.