GNU bug report logs -
#57256
Very long lines displayed in debugger window
Previous Next
Reported by: uzibalqa <uzibalqa <at> proton.me>
Date: Wed, 17 Aug 2022 01:47:01 UTC
Severity: normal
Tags: notabug
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On 2022-08-17 13:55, Phil Sainty wrote:
> On 2022-08-17 13:45, uzibalqa wrote:
>> When I use the debugger I frequently get extremely long lines.
>> I either have to move an excessive amount to the right or having
>> to reduce the scale height to a point where the text gets too
>> small to read.
>
> You can also simply M-x toggle-truncate-lines
In fact, the debugger already supports pretty-printing for the
frame at point if you type "+" (collapse again with "-").
Here's a starter for you:
(defun debugger-expand-all-frames ()
"Call `backtrace-multi-line' for all debugger frames."
(interactive)
(save-excursion
(goto-char (point-min))
(while (ignore-errors (backtrace-forward-frame))
(backtrace-multi-line))))
(define-key debugger-mode-map (kbd "*") #'debugger-expand-all-frames)
This bug report was last modified 2 years and 275 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.