[Ecls-list] Attach-GDB restart in Slime CVS

Tobias C. Rittweiler tcr at freebits.de
Thu Mar 18 18:28:45 UTC 2010


"Tobias C. Rittweiler" <tcr at freebits.de>
writes:

> I just added an ATTACH-GDB restart to Slime CVS which attachs runs 
> gdb -p <ecl's pid> in an Emacs buffer.
>
> It's often not obvious where exactly an error comes internally from
> because the Lisp backtrace only contains Lisp functions, and perhaps not
> even all internal Lisp functions (not sure about the last point,
> unchecked hypothesis based on superficial impression.)
>
> So you can know conveniently switch over to gdb, and get a C backtrace
> there. Make sure to build ECL with --with-debug-cflags.
>
>   -T.

For the record: In current Slime HEAD, the restart was removed
again. Instead there's now the command `A' in the Slime Debugger
attaching gdb to the process.

  -T.





More information about the ecl-devel mailing list