[gambit-list] Set traces in the generated code?

Marc Feeley feeley at iro.umontreal.ca
Tue Dec 8 16:55:09 EST 2015


Yes.  Use the -track-scheme compiler option, i.e.

gsc -c -track-scheme foo.scm

Note that this only works with the C backend.

Marc

> On Dec 8, 2015, at 3:30 AM, ben yakawp <ben.lists at yakawp.com> wrote:
> 
> Is it possible to set traces in the generated code that leads back to
> the location of the original scheme code location.  Something like a
> #LINE directive. 
> 
> The only way I see now is to write something like "(dbg ##LINE##)" and
> then run the whole code through a preprocessor. 
> 
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list




More information about the Gambit-list mailing list