Up: debug int   [Index]


14.1 Introduction to debug mode

Debug mode is driven with the following options:

-d
--debug

Turn on debugging mode. The parameter generate-debug-calls is set to true.

-nd
--no-debug

Turn off debugging mode. The parameter generate-debug-calls is set to false.

The implementation is mostly in ikarus.debugger.sls and ikarus.compiler.sls.

Parameter: generate-debug-calls

Set to true when debug mode is turned on. Defined in ikarus.compiler.sls, configured in ikarus.main.sls.

Function: guarded-start proc

Evaluate the procedure proc under the debugging infrastructure. It is used in the (ikarus main) library (ikarus.main.sls) to start the execution of a program and all the other execution modes.

proc is evaluated under the installation of an exception handler displaying the stack trace and offering the continuation alternatives.