implement breakpoints in the repl
authorAndy Wingo <wingo@pobox.com>
Sun, 19 Sep 2010 09:16:32 +0000 (11:16 +0200)
committerAndy Wingo <wingo@pobox.com>
Sun, 19 Sep 2010 09:32:11 +0000 (11:32 +0200)
commitb9badc35ab555e92812a16a0b91186c887d01f7c
tree180eb99cc4d6615a7f35b603e3c82b68009128bb
parentc939b1275bd1f8fce2006c4da6597a323addc04e
implement breakpoints in the repl

* module/system/vm/trap-state.scm: New file, tracks a VM-specific set of
  traps.
* module/Makefile.am: Add trap-state.scm.

* module/system/repl/error-handling.scm: While in a with-error-handling
  block, bind a default trap handler that invokes a recursive prompt.

* module/system/repl/command.scm: Add a `break' repl meta-command.
module/Makefile.am
module/system/repl/command.scm
module/system/repl/error-handling.scm
module/system/vm/trap-state.scm [new file with mode: 0644]