DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(guile.info.gz) Evaluator trap options

Info Catalog (guile.info.gz) Evaluator options (guile.info.gz) Runtime Options (guile.info.gz) Examples of option use
 
 33.3.6 Evaluator trap 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.
 
  -- apply-frame-handler: key cont tailp
      Called when a procedure is being applied.
 
      Called if:
 
         * evaluator traps are enabled [traps interface], and
 
         * either
              - `apply-frame' is enabled [traps interface], or
 
              - trace mode is on [debug-options interface], and the
                procedure being called has the trace property enabled.
 
      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
 
  -- exit-frame-handler: key cont retval
      Called when a value is returned from a procedure.
 
      Called if:
 
         * evaluator traps are enabled [traps interface], and
 
         * either
              -  `exit-frame' is enabled [traps interface], or
 
              - trace mode is on [debug-options interface], and the
                procedure being called has the trace property enabled.
 
      If cheap traps are enabled [debug-options interface], CONT is a
      debug object, otherwise it is a restartable continuation.
 
      RETVAL is the return value.
 
Info Catalog (guile.info.gz) Evaluator options (guile.info.gz) Runtime Options (guile.info.gz) Examples of option use
automatically generated byinfo2html