The macro stepper *should* pop up a dialog after a certain (large)
number of steps and ask if you want to interrupt it and see the
expansion up to that point. For example, try this:
#lang racket
(define-syntax-rule (m) (m))
(m)
The dialog should show up in a second or two. It can't
Unfortunately no. The macro stepper requires macros to fully expand
before it can let you step through them.
You can, however, use this `obs.rkt` file (attached) to debug macros
as they are expanding, and will print the current expanding syntax to
stdout. While not the most convenient thing in
Can I use the macro stepper to debug a bug in some code that seems to be macro
expanding infinitely?
Is it in a sandbox to prevent infinite macro expansion or something?
It looks like DrRacket's background expander allows me to kill expansion after a
short time, but when launching the macro
3 matches
Mail list logo