help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: better error messages in my *Messages* buffer?


From: Joost Kremers
Subject: Re: better error messages in my *Messages* buffer?
Date: 19 Mar 2014 19:25:03 GMT
User-agent: slrn/pre1.0.0-18 (Linux)

kleinerdrache@gmx.at wrote:
> error in process filter: Wrong type argument: listp, [...] 
>
> What do you do in that case to find out which line of your code creates
> that error?

`M-x toggle-debug-on-error is the first thing that comes to mind. Or do
`M-x debug-on-entry RET <your_function> RET'. Make sure the relevant
functions are not byte-compiled. And read up on the debugger:

(info "(elisp) Debugging")
(info "(elisp) Debugger")

-- 
Joost Kremers                                   joostkremers@fastmail.fm
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]