Node:Evaluator trap options, Next:Examples of option use, Previous:Evaluator options, Up:Runtime Options
[FIXME: These flags, together with their corresponding handlers, are not user level options. Probably this entire section should be moved to the documentation about the low-level programmer debugging interface.]
Here is the list of evaluator trap options generated by typing
(traps 'full)
in Guile. You can also see the default values.
exit-frame no Trap when exiting eval or apply. apply-frame no Trap when entering apply. enter-frame no Trap when eval enters new frame. traps yes Enable evaluator traps.
key cont tailp | apply-frame-handler |
Called when a procedure is being applied.
Called if:
If cheap traps are enabled [debug-options interface], cont is a debug object, otherwise it is a restartable continuation. tailp is true if this is a tail call |
key cont retval | exit-frame-handler |
Called when a value is returned from a procedure.
Called if:
If cheap traps are enabled [debug-options interface], cont is a debug object, otherwise it is a restartable continuation. retval is the return value. |