Get Debug Log
get_debug_logRetrieve the crash log written by a built Xojo app's UnhandledException handler, optionally deleting it after reading so the next crash starts a fresh log.
Instructions
Returns /tmp/xmcp_debug.log, which a built Xojo app writes from its App.UnhandledException handler when it crashes (usage-guide.md has the handler to add). This is how to see an exception in a built app; in a debug run the IDE's debugger catches exceptions instead, and get_system_log reads System.DebugLog output. No log file is a normal result that says so. With clear, the file is deleted after reading, so the next crash starts a fresh log. Needs no IDE.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Delete the log file after reading it. Default false. |