Hello,
You could compile the FFI into a module which you can load in the interpreter. Then you can debug other code.
As for accessing the debugging commands programmatically, look at the this email and its replies:
https://webmail.iro.umontreal.ca/pipermail/gambit-list/2007-August/001661.ht...
On 9/5/07, David St-Hilaire sthilaid@iro.umontreal.ca wrote:
Hi all!
I'm currently experiencing a problem regarding thread debugging in some compiled code. I have a thread which seems to die for some unknown reasons (which I'd like to find out) but since it is compiled code, I don't have access to gambit's debugging facilities such as a backtrace of the execution. Is there a way to get that info even with compiled code?
I cannot use 'gsi' with my code because it uses gambit's FFI (and gsi does not support the FFI)...
Thank you!
David
Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list