[plt-scheme] Error Traces

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Feb 22 17:17:22 EST 2005

At Tue, 22 Feb 2005 08:48:09 -0500, "Arend P. van der Veen" wrote:
> As you can see the error trace no longer shows me where the error is. 
> It only tells me that an error occurred in sample-function.  In my old C 
> days this was similar to what would happen if I did not compile with 
> debug information.  I could not find any information in mzc about how to 
> retain line numbers.

If you use v299.X, then try

 setup-plt --mode errortrace -l module1

The "--mode errortrace" is sortof like -g to gcc, but the resulting
compiled files are used at run time only when you load errortrace
before requiring the relevant modules.

The --mode flag doesn't exist in v209.

Matthew



Posted on the users mailing list.