Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

Trace

Component: Trace
Version: 2.4
Mac OS X: Works
Windows: Works

MBS( "Trace"; path )

Parameters

Parameter Description Example value
path Optional. The native file path to the log file. "/Users/name/Desktop/debug.txt"

Result

Returns "OK" on success.

Description

Starts logging all plugin calls to a text file.
If you pass a path, debug messages are written to the file. Else the plugin writes to debug console. See Console.app on Mac or DebugView on Windows.

Examples

Log plugin calls to console:

MBS( "Trace" )

Log plugin calls to desktop on Windows:

MBS( "Trace"; "C:\Documents\Christian\Desktop\plugin.txt")

Feedback: Report problem or ask question.




Links
MBS REALbasic Plugins - Pfarrgemeinde St. Arnulf Nickenich