chansey97
2022-2-17 22:22:42

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.


soegaard2
2022-2-17 22:27:28

Where in the video is racket-debug-run-to-here demonstrated?


chansey97
2022-2-17 22:27:45

No.


chansey97
2022-2-17 22:29:06

soegaard2
2022-2-17 22:32:08

That’s pretty recent. You need advice from @greg


chansey97
2022-2-17 22:41:10

greg
2022-2-17 23:49:12