Questions tagged [backtrace]
The backtrace tag has no summary.
28 questions
1 vote
1 answer
44 views
Get backtrace for timer error
For an error in a timer there is Error running timer: (text-read-only "Attempt to change text outside editable field") Sadly it does not give a hint which function in which buffer has the ...
0 votes
1 answer
109 views
Emacs crashing - can't find emacs_backtrace.txt
I've recently made significant changes to my emacs configuration, and now it's crashing every now and then (maybe every week or so). The only thing that I noticed about it is that it happens when I ...
1 vote
1 answer
49 views
Re-raise error after adding some context
I have a package that invokes some user-defined code that can be error-prone. For the most part, I'd like to respect the user's choices for handling errors, e.g. debug-on-error. However, due to some ...
0 votes
0 answers
67 views
dynamic scoping doesn't perform as expected
(require 'cl) (require 'seq) (require 'dash) (eval-when-compile (require 'cl-lib) (require 'subr-x) (require 'env) (require 'json)) (defgroup chatgpt nil "ChatGPT frontend." :...
1 vote
0 answers
169 views
How can I log output of debug into a file?
I am GNU Emacs 28.1.91 with native compilation. Emacs freezes so often, where I am unable to find what's is wrong. During the freeze all my work is always gone where the save does not occur. Following:...
0 votes
2 answers
181 views
when I open file in emacs I get lots of strange errors
My OS is ubuntu 22.04 LTS, emacs is in /usr/local/texlive/emacs-28.1, texline in /usr/local/texlive and auctex in .emacs.d/elpa. Whenever I open a file in the emacs-buffer, it shows -- in a buffer *...
2 votes
2 answers
275 views
How to log backtrace to a file instead of popping it up and blocking following backtraces
With emacs if there is a backtrace buffer open, new backtrace is ignored. I find it is unconvenient when I am trying to find out which function/hook changes a variable. I use debug-watch as described ...
0 votes
0 answers
76 views
Possible to find the line or position where an error happens?
With stack traces in elisp, I only see the function and the error that occurred within this function. Is it possible to also include the line number or the character-position where the error took ...