unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Marcin Borkowski <mbork@wmi.amu.edu.pl>
To: help-gnu-emacs@gnu.org
Subject: Re: better error messages in my *Messages* buffer?
Date: Thu, 20 Mar 2014 03:04:49 +0100	[thread overview]
Message-ID: <20140320030449.625bf227@aga-netbook> (raw)
In-Reply-To: <slrnlijrof.9nq.joost.m.kremers@j.kremers4.news.arnhem.chello.nl>

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	other threads:[~2014-03-20  2:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.17570.1395256643.10748.help-gnu-emacs@gnu.org>
2014-03-19 19:25 ` better error messages in my *Messages* buffer? Joost Kremers
2014-03-20  2:04   ` Marcin Borkowski [this message]
2014-03-20 16:44 ` ian.tegebo
2014-03-19 19:17 kleinerdrache

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140320030449.625bf227@aga-netbook \
    --to=mbork@wmi.amu.edu.pl \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).