-
- Notifications
You must be signed in to change notification settings - Fork 651
Description
Working on a function in a file, hot evaling it in the repl server and testing it immediately is a very fast way of working. Unfortunately the file and line information is not kept during hot eval. In case of an exception you get rather useless location information.
In VimClojure I implemented said information transfer to the backend and it worked rather well for debugging. I simply proxied the reader during eval and also set the compiler location specific Vars.
cf. make-reader and with-repl*
Is there a chance to have this implemented in cider also? And if yes, where should I start?
PS: I know that the location info of code below said function might get of out sync. I consider this less annoying than having no info at all during debug. And it can be easily fixed by hot eval if necessary.