Next: , Previous: Exit Traps, Up: Traps


5.21.3.12 Entry Traps

The <entry-trap> class implements traps that are triggered upon any stack frame entry. No further parameters are needed to specify an instance of this class, so there are no class-specific trap options. Note that it remains possible to use the common trap options (see Common Trap Options), for example to set a trap for the nth next frame entry.

— Class: <entry-trap>

Class for traps triggered by any stack frame entry.

Example:

     (install-trap (make <entry-trap>
             	#:skip-count 5
     		#:behaviour gds-debug-trap))