GNU bug report logs - #79144
[PATCH] New debugger-trap function to break to GDB

Previous Next

Package: emacs;

Reported by: Jeremy Bryant <jb <at> jeremybryant.net>

Date: Fri, 1 Aug 2025 23:21:02 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Full log


Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Jeremy Bryant <jb <at> jeremybryant.net>, bug-gnu-emacs <at> gnu.org
Cc: Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: [PATCH] New debugger-trap function to break to GDB
Date: Fri, 1 Aug 2025 17:29:32 -0700
On 2025-08-01 16:19, Jeremy Bryant wrote:
> redraw-display and similar functions are usually okay, but they could
>   get in the way if what they do modifies Emacs in a way that interferes
> with debugging

In the past I've used Facos for this purpose, under the theory that 
nobody ever calls acos so I know a breakpoint there means I want the 
debugger trap.

With that in mind I suggest documenting in the doc string that Emacs 
never calls this function except to do X, Y and Z, where X Y and Z are 
spelled out clearly. (I assume X Y and Z all have to do with debugging.)

Also, shouldn't there  be something about the new function in 
doc/lispref/debugging.texi?




This bug report was last modified 4 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.