1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-05 03:30:24 +02:00
guile/module/system
Andy Wingo 65bce23759 breakpoints from recursive prompts work
* module/system/vm/traps.scm (new-disabled-trap): Don't manipulate the
  VM trace level in the enable and disable handlers. Unfortunately, this
  makes traps not work unless you enable hooks, but given that
  vm_dispatch_hook has to set trace-level to 0, there needs to be an
  object with a broader view of what traps are enabled. That object is
  the hook state.

* module/system/vm/trap-state.scm (trap-state->trace-level): New
  procedure.
  (with-default-trap-handler): Add an optional trap-state argument. Now
  makes sure that the vm-trace-level is set appropriately during the
  execution of the thunk, allowing for breakpoints from recursive
  prompts.
2010-09-21 21:37:11 +02:00
..
base Check for go/scm mtime ordering rather than equality. 2010-07-26 19:38:52 +02:00
repl add ,traps ,delete ,disable ,enable 2010-09-19 11:32:47 +02:00
vm breakpoints from recursive prompts work 2010-09-21 21:37:11 +02:00
foreign.scm Rename make-foreign-function' to pointer->procedure'. 2010-09-06 22:24:44 +02:00
xref.scm new procedure: source-procedures 2010-09-10 13:29:56 +02:00