[gambit-list] debugging C errors in gambit
Marc Feeley
feeley at iro.umontreal.ca
Fri Apr 17 08:15:49 EDT 2009
On 17-Apr-09, at 1:19 AM, lowly coder wrote:
> I probably deserve this:
>
> $ gsi main.scm
> Segmentation fault
>
> this isn't an error in my scheme code, there's probably something
> broken with some weird C interface. Question is ... how do I load up
> gdb? (I just want a stack trace). Even if there are lots of weird
> gambit related functions that I have no idea about, it's okay; the
> only other cohice I have to sprinkle my code with lots of print
> statements, and I think this is a better way. :-)
>
> Thanks!
How about
% gdb gsi
(gdb) run main.scm
Marc
More information about the Gambit-list
mailing list