[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Debugging Elisp
From: |
Phillip Lord |
Subject: |
Re: Debugging Elisp |
Date: |
Sun, 26 May 2013 11:49:40 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
The general solution is to turn debug-on-error on then replicate the
error. With post-command-hook on, though, it's much harder because this
hooks so deeply into the Emacs workflow.
Really, you need to find out what is on "post-command-hook" before it
crashes. This will allow you to narrow down a bit on where the problem
is.
Phil
Miguel Guedes <miguel.a.guedes@gmail.com> writes:
> Hello List,
>
> Is it possible to set up emacs so as to output more meaningful messages
> when it steps into errors?
>
> I'd be so *very* grateful if someone contributed a tip that makes emacs
> output a line:col pair when it steps into an error as messages of the
> kind below are just so frustrating to debug (especially so when it's hard
> to replicate what causes them):
>
> Error in post-command-hook: (wrong-type-argument characterp wrong-type-
> argument)
--
Phillip Lord, Phone: +44 (0) 191 222 7827
Lecturer in Bioinformatics, Email: phillip.lord@newcastle.ac.uk
School of Computing Science,
http://homepages.cs.ncl.ac.uk/phillip.lord
Room 914 Claremont Tower, skype: russet_apples
Newcastle University, twitter: phillord
NE1 7RU
- Debugging Elisp, Miguel Guedes, 2013/05/25
- Re: Debugging Elisp,
Phillip Lord <=