From: Eli Zaretskii <eliz@gnu.org>
To: rms@gnu.org, Richard Stallman <rms@gnu.org>,
Aaron Jensen <aaronjensen@gmail.com>
Cc: 46384@debbugs.gnu.org
Subject: bug#46384: 28.0.50; 100% cpu in line_number_display_width
Date: Tue, 09 Feb 2021 09:18:36 +0200 [thread overview]
Message-ID: <C2180095-53E7-44C2-9D82-93F70BB09497@gnu.org> (raw)
In-Reply-To: <E1l9MFW-0000jF-Du@fencepost.gnu.org>
On February 9, 2021 8:11:46 AM GMT+02:00, Richard Stallman <rms@gnu.org> wrote:
>
> The way I debugged infloops in Emacs was to use the GDB return command
> on each frame till control got out of that frame. Eventually I would
> find a frame that never returned to its caller. I would then arrange
> to stop the program while inside that frame's function and find the
> range of code contained in the loop.
>
> Then I would figure out where the code was supposed to exit that loop.
> After that, it is a matter of debugging why it does not exit.
That procedure is described in etc/DEBUG. However, the main problem in this case is that GDB is not easily available, so displaying Lisp objects and data structures is tedious at best.
next prev parent reply other threads:[~2021-02-09 7:18 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-08 15:35 bug#46384: 28.0.50; 100% cpu in line_number_display_width Aaron Jensen
2021-02-09 6:11 ` Richard Stallman
2021-02-09 7:18 ` Eli Zaretskii [this message]
2021-02-10 5:28 ` Richard Stallman
2021-02-10 11:16 ` Eli Zaretskii
2021-02-11 13:37 ` Richard Stallman
2021-02-10 14:12 ` Robert Pluim
2021-02-10 16:06 ` Aaron Jensen
2021-02-10 16:18 ` Aaron Jensen
2021-02-10 17:54 ` Robert Pluim
2021-02-11 13:37 ` Richard Stallman
2022-06-16 13:33 ` Lars Ingebrigtsen
2022-06-16 22:40 ` Aaron Jensen
2022-06-17 12:02 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C2180095-53E7-44C2-9D82-93F70BB09497@gnu.org \
--to=eliz@gnu.org \
--cc=46384@debbugs.gnu.org \
--cc=aaronjensen@gmail.com \
--cc=rms@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.