From: Guillermo J. Rozas Date: Wed, 9 Dec 1987 21:51:55 +0000 (+0000) Subject: Add hooks for the compiled code debugger. X-Git-Tag: 20090517-FFI~12999 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=e6a478cc53d91a07cf91bc35b2b5a2cbec681823;p=mit-scheme.git Add hooks for the compiled code debugger. --- diff --git a/v7/src/runtime/debug.scm b/v7/src/runtime/debug.scm index aa204b77c..b3c03dd11 100644 --- a/v7/src/runtime/debug.scm +++ b/v7/src/runtime/debug.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/debug.scm,v 13.44 1987/12/05 16:40:13 cph Exp $ +;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/debug.scm,v 13.45 1987/12/09 21:51:55 jinx Exp $ ;;; ;;; Copyright (c) 1987 Massachusetts Institute of Technology ;;; @@ -472,6 +472,17 @@ (define-debug-command #\X internal-command "Create a read eval print loop in the debugger environment") + +(define debug-compiled-continuation false) + +(define (debug-compiled) + (if debug-compiled-continuation + (debug-compiled-continuation current-continuation) + (begin (beep) + (format "~%The compiled code debugger is not present in this system.")))) + +(define-debug-command #\A debug-command + "Invoke the compiled code debugger on the current continuation") ;;;; Reduction and continuation motion low-level