How to get the file name and line number where an error occurred in MIT/GNU Scheme?

306 views Asked by At

I am working through SICP and I use the MIT/GNU Scheme 9.2 interpreter within Emacs. My programs now consist of multiple files that I load at once. If I make a syntactic mistake, I get an error message such as the following:

Unbalanced close parenthesis: #)

Currently, I have to gradually eliminate lines in a file to find the source of the error. It would be a lot easier if I had the line number where the error occurred. Also, it would be preferable to get the name of the file along with the line number for clarity. Is there a way to get that information?

An online search and consulting the manual did not help. An identical question exists, but the accepted answer does not actually answer the question. I would prefer to not switch to Edwin or DrRacket if it can be avoided.

0

There are 0 answers