diff --git a/collects/stepper/private/annotate.ss b/collects/stepper/private/annotate.ss index bda6967643..44b4abce14 100644 --- a/collects/stepper/private/annotate.ss +++ b/collects/stepper/private/annotate.ss @@ -1069,7 +1069,6 @@ (define/contract annotate/top-level/acl2 (syntax? . -> . syntax?) (lambda (exp) - (>>> exp) (syntax-case exp (begin define-values #%app) [(begin contract-thingy (begin body (begin))) @@ -1146,7 +1145,6 @@ #;(error `annotate/module-top-level "unexpected module-top-level expression to annotate: ~a\n" (syntax-object->datum exp))])]))) ; body of local - #;(printf "input: ~a\n" exp) (let* ([annotated-exp (cond [(string=? language-level-name "ACL2 Beginner (beta 8)") (annotate/top-level/acl2 main-exp)] diff --git a/collects/stepper/private/debugger-model.ss b/collects/stepper/private/debugger-model.ss index 4e08700aa9..51acd080e6 100644 --- a/collects/stepper/private/debugger-model.ss +++ b/collects/stepper/private/debugger-model.ss @@ -55,6 +55,8 @@ (define (step-through-expression expanded expand-next-expression) + (with-output-to-file "/dev/stderr" + (printf "about-to-annotate\n")) (let* ([annotated (annotate expanded breakpoints breakpoint-origin break)]) ; (fprintf (current-error-port) "annotated: ~v\n" (syntax-object->datum annotated)) (let ([expression-result diff --git a/collects/stepper/private/reconstruct.ss b/collects/stepper/private/reconstruct.ss index 54dbd2a313..e2bcbaf3e9 100644 --- a/collects/stepper/private/reconstruct.ss +++ b/collects/stepper/private/reconstruct.ss @@ -217,7 +217,7 @@ [(#%app fn . rest) #`fn] [else (error 'find-special-name "couldn't find expanded name for ~a" name)])]) - (eval just-the-fn))) + (eval (syntax-recertify just-the-fn expanded-application (current-code-inspector) #f)))) ;; these are delayed so that they use the userspace expander. I'm sure ;; there's a more robust & elegant way to do this.