Hi, I watched <https://youtu.be/NDHi6aWyI0Y|the video> and tried the debugging mechanism in racket-mode. For example, #lang racket
(define (f x)
(define ns (list 1 2 3 4))
(for/sum ((n (in-list ns)))
(+ x n)))
(let ()
(f 41)
(f 222))
I can press M-x racket-run-with-debugging
into debug mode and press “SPACE” to step. It works fine. But racket-debug-run-to-here
doesn’t seem to work? In debug mode, my mouse cursor at (f 41) \|
and press h
, the debugger stopped. My racket-mode version is racket-mode–20220216.1917 from elpa. Also, I don’t know how to set a break point in source code.
Where in the video is racket-debug-run-to-here demonstrated?
No.
But I saw this issue: https://github.com/greghendershott/racket-mode/issues/425
That’s pretty recent. You need advice from @greg
I just created an https://github.com/greghendershott/racket-mode/issues/597\|issue. It is not urgent.
@chansey97 Thanks I just replied there. https://github.com/greghendershott/racket-mode/issues/597#issuecomment-1043639144