Open sorawee opened 5 years ago
This is because of the way DrRacket implements debugging, and is expected. You can see a similar thing at the command-line if you use errortrace (which is the library that DrRacket uses to do debugging). Ie, put that code in x.rkt
and run like this
$ racket -l errortrace -t x.rkt
1
1
There's one from the regular execution, and one from errortrace, but DrRacket produces a third one (or a second one if errortrace is off). What's that from?
It probably compiles the content? I'm not sure
(Copied from https://github.com/greghendershott/racket-mode/issues/379)
results in
in DrRacket. However, if we run this in racket, only one 1 appears.