Discussion:
[racket] Options for debugging
Gustavo Massaccesi
2015-02-23 21:16:09 UTC
Permalink
I want to debug a file "example.rkt". I want to run it from the
command line, but as it runs inside DrRacket with "Debugging" and
"Preserve Stack Trace" enabled, to get better errors reports.

Something like: racket -magicoptionshere example.rkt

Gustavo
____________________
Racket Users list:
http://lists.racket-lang.org/users
Matthew Flatt
2015-02-23 21:36:21 UTC
Permalink
The equivalent of "Debugging" is

racket -l errortrace -t example.rkt

but you'll have to manually ensure that no ".zo" is present for any
file that you want instrumented for Errortrace.
Post by Gustavo Massaccesi
I want to debug a file "example.rkt". I want to run it from the
command line, but as it runs inside DrRacket with "Debugging" and
"Preserve Stack Trace" enabled, to get better errors reports.
Something like: racket -magicoptionshere example.rkt
Gustavo
____________________
http://lists.racket-lang.org/users
____________________
Racket Users list:
http://lists.racket-lang.org/users
Gustavo Massaccesi
2015-02-23 22:32:51 UTC
Permalink
Thanks

Gustavo
Post by Matthew Flatt
The equivalent of "Debugging" is
racket -l errortrace -t example.rkt
but you'll have to manually ensure that no ".zo" is present for any
file that you want instrumented for Errortrace.
Post by Gustavo Massaccesi
I want to debug a file "example.rkt". I want to run it from the
command line, but as it runs inside DrRacket with "Debugging" and
"Preserve Stack Trace" enabled, to get better errors reports.
Something like: racket -magicoptionshere example.rkt
Gustavo
____________________
http://lists.racket-lang.org/users
____________________
Racket Users list:
http://lists.racket-lang.org/users

Loading...