all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Entering backtrace buffer if displayed information is huge
@ 2019-10-07 14:29 Wolfgang Pausch
  2019-10-08 12:13 ` Robert Pluim
  2019-10-08 17:55 ` Stefan Monnier
  0 siblings, 2 replies; 5+ messages in thread
From: Wolfgang Pausch @ 2019-10-07 14:29 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

I'm implementing some lisp code based on js2-mode.  The nodes of the 
abstract syntax tree of that mode frequently need to be passed between 
defuns.

My problem is that the Backtrace buffer tries to display the huge 
contents of that nodes, and this makes entering the Backtrace buffer 
extremely slow, and sometimes impossible at all.

(and once opened, each editor move within the Backtrace buffer can cause 
emacs to freeze for an additional time)

What's a senseful way to debug in such situations?  Basically, if the 
contents of the variables passed to a defun are too huge to be displayed 
in a efficient manner, at least the names of the functions being called 
would be a help while debugging --- is it somehow possible to restrict 
opening a Backtrace buffer to such more basic information?

Currently, I have the situation that debugging trivial programming 
problems costs way too much time...

Thanks for all hints,

Wolfgang



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-10-08 17:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-07 14:29 Entering backtrace buffer if displayed information is huge Wolfgang Pausch
2019-10-08 12:13 ` Robert Pluim
2019-10-08 12:25   ` Wolfgang Pausch
2019-10-08 12:52     ` Michael Heerdegen
2019-10-08 17:55 ` Stefan Monnier

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.