GNU bug report logs -
#79144
[PATCH] New debugger-trap function to break to GDB
Previous Next
Full log
Message #20 received at 79144 <at> debbugs.gnu.org (full text, mbox):
Jim Porter <jporterbugs <at> gmail.com> writes:
> On 8/1/2025 4:19 PM, Jeremy Bryant via Bug reports for GNU Emacs, the
> Swiss army knife of text editors wrote:
>> Here is a patch to add a default command debugger-trap to break into
>> GDB, together with a default breakpoint set in .gdbinit
>> The immediate benefit for developers is a standard command to use where
>> there isn't one at the moment, as explained in DEBUG, only general guidance.
>
> This looks like a good idea. It might be useful to document more
> thoroughly that this is for setting a breakpoint in GDB and friends,
> rather than in the Elisp debugger. (Unless the plan is to support the
> Elisp debugger too somehow?)
Thanks, maybe this can be clarified - what makes you think of elisp
debugging in this version? The file debug.el?
From a user point of view, the proposed docstring doesn't mention Elisp,
only GDB.
It is proposed for debug.el (not edebug.el), for this generality, and
due to the natural fit in this file, although admittedly.
;;; debug.el --- debuggers and related commands for Emacs
Beyond the immediate benefit to developers, the plan and prototype is to
use the Lisp debugger debug or edebug to then have the hybrid debugging,
so that choice of file also makes sense for this future plan.
This bug report was last modified 3 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.