CLisp REPL error output: how to find the line number in the file where the error occurred?

I work through Land of Lisp using CLisp, writing code to Vim with Slimv, then alt-tabbing to another terminal window and loading the file into REPL using (load 'file.lisp), then running the programs on REPL.

When I get an error in REPL, is there any way to find out which line in the .lisp file an error occurred? I do not see the line numbers explicitly indicated in the REPL error output, is there any other way?

I found this similar question, but the only answer says to use something other than Clisp, like sbcl, allegro, etc .:

How can I improve confidential error messages?

Thank!

+3
source share
2 answers

: , REPL: clisp -c file.lisp. / . , REPL. .

+3

, , ": bt" REPL . GDB- , , , .

+2

All Articles