Product Documentation
Cadence SKILL Development Reference
Product Version IC23.1, June 2023

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

None

Value Returned

t

The debugger is successfully installed.

nil

The debugger is not installed.

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

uninstallDebugger

debugQuit

stacktrace


Return to top
 ⠀
X