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: Marcin Borkowski
Subject: Re: better error messages in my *Messages* buffer?
Date: Thu, 20 Mar 2014 03:04:49 +0100

Dnia 2014-03-19, o godz. 19:25:03
Joost Kremers <joost.m.kremers@gmail.com> napisaƂ(a):

> 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")
> 

Also, Edebug comes to mind.

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University



reply via email to

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