Fix fencepost error in level.
authorChris Hanson <org/chris-hanson/cph>
Mon, 9 Apr 2012 05:54:20 +0000 (22:54 -0700)
committerChris Hanson <org/chris-hanson/cph>
Mon, 9 Apr 2012 05:54:20 +0000 (22:54 -0700)
src/runtime/swank.scm

index e308ee88f9b2f52a8237c0271e561c6666cedfb3..eab8a55dd44a9a053c78e0b3fdbce75ff982e893 100644 (file)
@@ -517,7 +517,7 @@ swank:xref
                         socket)
          (sldb-loop level socket))
        (lambda ()
-         (write-message `(:debug-return 0 ,level 'NIL) socket)))))
+         (write-message `(:debug-return 0 ,(- level 1) 'NIL) socket)))))
 
 (define (sldb-loop level socket)
   (write-message `(:debug-activate 0 ,level) socket)