unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Helmut Eller <eller.helmut@gmail.com>
To: 18558@debbugs.gnu.org
Subject: bug#18558: 24.4.50; Debugger slow with long strings
Date: Thu, 25 Sep 2014 11:16:11 +0200	[thread overview]
Message-ID: <m2fvfgqcv8.fsf@gmail.com> (raw)

Moving the cursor in the debugger window is very slow in the following
example:

shell> cat test.el
(progn
  (defun foo (n string)
    (cond ((= n 0) (debug))
          (t (foo (1- n) string))))
  (foo 30 (make-string 500000 ?\\)))

shell> emacs -Q -nw -l test.el

Now move the cursor around to see the slowness.

Maybe the debugger should truncate long strings as it does with long
lists.


In GNU Emacs 24.4.50.2 (i686-pc-linux-gnu, GTK+ Version 2.24.10)
 of 2014-09-08 on ix





             reply	other threads:[~2014-09-25  9:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-25  9:16 Helmut Eller [this message]
2016-02-19  8:41 ` bug#18558: 24.4.50; Debugger slow with long strings Marcin Borkowski
2016-02-19  9:03   ` Eli Zaretskii
2016-02-19  9:15   ` Helmut Eller

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2fvfgqcv8.fsf@gmail.com \
    --to=eller.helmut@gmail.com \
    --cc=18558@debbugs.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).