开发者

how to display line numbers of errors

开发者 https://www.devze.com 2023-01-29 22:01 出处:网络
I\'m hacking in Racket and I keep getting errors. The default error handler shows a s开发者_运维技巧tack trace.At the end of the stack trace, it shows the \"top level\" evaluation as \"/path/to/file/

I'm hacking in Racket and I keep getting errors.

The default error handler shows a s开发者_运维技巧tack trace. At the end of the stack trace, it shows the "top level" evaluation as "/path/to/file/my_module.rkt: [running body]"

How do I show the line number for the running body part?


If you use DrRacket, it will highlight the error location in the source. To get similar functionality in the racket REPL, see the errortrace tool.

0

精彩评论

暂无评论...
验证码 换一张
取 消