From e6a478cc53d91a07cf91bc35b2b5a2cbec681823 Mon Sep 17 00:00:00 2001 From: "Guillermo J. Rozas" Date: Wed, 9 Dec 1987 21:51:55 +0000 Subject: [PATCH] Add hooks for the compiled code debugger. --- v7/src/runtime/debug.scm | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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 -- 2.25.1