bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#29463: 27.0.50; Backtraces with large strings is very slow


From: Lars Ingebrigtsen
Subject: bug#29463: 27.0.50; Backtraces with large strings is very slow
Date: Sat, 21 Sep 2019 10:20:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> I was trying to debug some code that dealt with very large SVG images,
> and getting a backtrace buffer proved impossible -- Emacs would just
> hang.
>
> Here's a trivial test case:
>
> (let ((a (make-string 100000000 ?a)))
>  (debug a))
>
> On my machine, this takes about half a minute to display, but if you
> have deeply nested code that the debugger is trying to display, you'll
> get that additional time per frame, I think, so it can take arbitrarily
> long to render the buffer.

This has been fixed in Emacs 27 by shortening the display of the
strings, so I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]