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.
Afficher les réponses par date
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@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@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list