installDebugger
installDebugger( ) =>t/nil
Description
Installs the SKILL debugger as the error handler so that the debugger is entered automatically upon error.
installDebugger also turns on debug mode and allows all functions, including those that are write protected, to be redefined. Debug mode stores cross-referencing information about functions and files as well as more information for stacktraces. Debug mode also changes the prompt to display the number of nested debuggers plus one. You might find it desirable to put the installDebugger function in your initialization file while you are developing your code.
Arguments
Value Returned
Examples
installDebugger() ; Installs the SKILL debugger.
4 / 0 ; Generates an error and enters
; the SKILL debugger.
stacktrace ; Displays the SKILL stack.
debugQuit() ; Exits the debugger.
Related Topics
Return to top