
ah that’s a better stacktrace than I got in DrRacket

is errortrace
a tool or command that you enter to see that?

Here’s what I did:
- Remove
compiled
directory indatalog
- Run
racket -l errortrace -t test.rkt
wheretest.rkt
is your program.

Errortrace is a package for instrumenting code to get better information when error occurs

It can be invoked by both command line and DrRacket

DrRacket invokes errortrace with customization, which is supposed to give you better results, but it looks like it’s also somewhat buggy, giving you unhelpful information in this case.

in the DrRacket repl pane, is there a way to get “up arrow” history e.g. to repeat last command?

mac or windows?

mac

ctrl+p ought to work on both

but ctrl+up works on …

Or is it shift+up ?

up-arrow seems to work in racket
cli, but in DrRacket it just moves the cursor same for ctrl+p

shift+up selects a text region

ctrl+up is a macos window manager shortcut

esc p

?

ok yes esc p
does it

Tip:

ah cheers, I was just going to ask how to customise it :slightly_smiling_face:

ctrl-up is actually bound to the same as esc;p but macOS steals the keybinding

I’ll just remember esc+p for now

thanks

FWIW if you turn off ‘mission control’ in the keyboard settings ctrl+[up] works fine