Questions tagged [debugging]
Debugging is a methodical process of finding and reducing the number of bugs, or defects, in a computer program.
562 questions
0 votes
2 answers
73 views
How to make a progn-like (i.e. with "(&rest body)") function?
How to pass BODY argument ? (defun with-test (&rest body) "Execute BODY in current buffer '*Test*', saving and restoring current context." (interactive) (let ((cb (current-buffer)) ...
0 votes
1 answer
100 views
--debug-init on Windows
I just installed GNU Emacs 30.1 on my computer at work that runs on Windows 11 but I'm getting this message ■ Warning (initialization): An error occurred while loading ‘c:/Users/jdioses/.emacs.d/...
0 votes
0 answers
47 views
dap-mode: fail to create session
I'm trying to setup dap-mode with dap-lldb but when i select my defined configuration I got the error: dap--create-session: Wrong type argument: stringp, nil. Below the code for registration of ...
1 vote
1 answer
139 views
How can I find out which line in my config file is causing a problem?
I often get error in my config file and sometimes it displays the char number or line number, but sometimes it doesn't, like now: *Backtrace* Debugger entered--Lisp error: (invalid-read-syntax ")&...
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
66 views
print-level, print-length variables not working? [duplicate]
Why is my eval-expression output being truncated despite setting all the print-level and print-length variables to a very high value? (setf print-level 99999999999999 print-length ...
0 votes
1 answer
76 views
How to debug emacs with the -q flag if using emacsclient (exwm)?
I start my desktop using .xinitrc: emacs --daemon -f exwm-enable exec emacsclient -c Now I'm required to run emacs -q in order to debug image display issues How should I achieve that since ...
0 votes
1 answer
128 views
mu4e: getting error message "Sending...failed" even though the email was sent
Actually, sending mails works fine. But the error is annoying because it causes mu4e to keep the compose buffer open. Normally, it would close the buffer and save the mail to the sent folder. So I ...