ego
2020-8-1 08:24:12

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


ego
2020-8-1 08:24:25

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


sorawee
2020-8-1 08:54:57

Here’s what I did:

  1. Remove compiled directory in datalog
  2. Run racket -l errortrace -t test.rkt where test.rkt is your program.

sorawee
2020-8-1 08:55:38

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


sorawee
2020-8-1 08:55:56

It can be invoked by both command line and DrRacket


sorawee
2020-8-1 08:57:05

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.


ego
2020-8-1 17:43:09

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


soegaard2
2020-8-1 17:43:25

mac or windows?


ego
2020-8-1 17:43:28

mac


soegaard2
2020-8-1 17:43:46

ctrl+p ought to work on both


soegaard2
2020-8-1 17:44:01

but ctrl+up works on …


soegaard2
2020-8-1 17:44:17

Or is it shift+up ?


ego
2020-8-1 17:44:27

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


ego
2020-8-1 17:44:47

shift+up selects a text region


ego
2020-8-1 17:45:10

ctrl+up is a macos window manager shortcut


soegaard2
2020-8-1 17:45:42

esc p


soegaard2
2020-8-1 17:45:43

?


ego
2020-8-1 17:46:09

ok yes esc p does it


soegaard2
2020-8-1 17:46:47

Tip:


ego
2020-8-1 17:47:21

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


soegaard2
2020-8-1 17:47:55

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


ego
2020-8-1 17:49:56

I’ll just remember esc+p for now


ego
2020-8-1 17:50:00

thanks


spdegabrielle
2020-8-2 02:19:37

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