Questions tagged [backtrace]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
6
votes
2answers
75 views

Can emacs show formatted backtraces?

When getting an Elisp error and trying to debug the problem, the backtrace buffer is quite hard to read with its long lines. Is there a way to get a pretty-printed backtrace buffer?
0
votes
1answer
21 views

wrong-type-argument from insert yank

I'm looking for ways to get the last copy from the kill ring in Emacs. I run (insert (yank))[cursor] with C-x C-e and I get this *Backtrace*: Debugger entered--Lisp error: (wrong-type-argument ...
0
votes
1answer
51 views

Backtrace on file open

I am curious about the origin of certain files under ~/.emacs.d, such as: places, url/cookies, tramp, eshell/history, eshell/lastdir, auto-save-list/.saves-15234-mymachine~, request/curl-cookie-jar. ...
2
votes
1answer
1k views

Debug an elisp error - show call stack when an error occurs

I am relatively new to emacs / elisp, and am trying to build some custom functionality. I have added a number of functions which are added to a major-mode. Occasionally (and seemingly only after a ...
1
vote
1answer
122 views

debugging segmentation fault when using `prin1`

Q:  How can I narrow down this gdb backtrace to a specific character, or set of characters, that is causing a Emacs to suffer a segmentation fault when using prin1? Program received signal SIGSEGV, ...
5
votes
1answer
142 views

Elisp backtrace print garbage messages

I'm using emacs 25.2 on osx 10.12 and following elisp intro to produce some error message intentionally. (This is a list) After I run C-x C-e on this line. A backtrace buffer appeared as supposed ...
6
votes
1answer
109 views

Can emacs auto-save backtrace?

Trying to debug a problem with debug-on-error. Backtrace appears for a second and then some other parts of the system make it disappear and emacs becomes dysfunctional so I can never read it. Is ...
12
votes
1answer
563 views

Get backtrace from error programmatically

If an error is signalled in Emacs Lisp code, and debug-on-error is t, I get a backtrace buffer that makes it easy to figure out where the error occurred. However, for errors that occur while ...
2
votes
1answer
156 views

Break on all errors in edebug

How can I make Emacs break on an error, even if the error is being handled somewhere? In my current scenario, the setup of a major mode is modifying the buffer and I want to find out why (and then ...
2
votes
1answer
65 views

escape or omit binary data in backtrace buffer?

Many times when I check the backtrace buffer, I can't copy the text out because of the embedded binary data (perhaps it's the internal null characters making the copy function think the string is ...