From: Gracjan Polak <gracjanpolak@gmail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Wrong type argument: arrayp, nil
Date: Sun, 20 Apr 2014 20:25:20 +0200 [thread overview]
Message-ID: <CAChsM3RMkV9s85E-uXyhJWDE_RmU-7fv+fUzRFRy0iM4utVcTQ@mail.gmail.com> (raw)
In-Reply-To: <840abf5d-4b46-4630-a416-4df26b8f7770@default>
Thanks, that got me started.
Is there a debug tutorial somewhere or d and c and q is all that is needed
in real life?
How does you debug-edit-debug cycle look like? Is C-x C-e all I should be
using or is there something that has a concept of 'a breakpoint'?
2014-04-20 20:16 GMT+02:00 Drew Adams <drew.adams@oracle.com>:
> First, do this, to get a human-readable backtrace:
>
> 1. Set variable `debug-on-error' to t.
> 2. Provoke the error, so you can see which function is problematic.
> Quit the debugger using `q'.
> 3. Load the source files for the package in question. This is to
> give you a more human-readable backtrace.
> 4. Provoke the error again.
>
> You can now report the problem to the package maintainer. If the
> responsible code is delivered as part of Emacs (not some 3rd party)
> then report the problem to Emacs Dev using `M-x report-emacs-bug'.
>
> If you want to debug it further yourself, step through the debugger
> after step #4 above. Use `d' to single-step and `c' to skip through
> a step. Use `q' to quit or step through until the problematic
> function returns.
>
> Some people prefer `edebug' to `debug'. I prefer `debug', which is
> what you get with the above recipe.
>
next prev parent reply other threads:[~2014-04-20 18:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-20 17:44 Wrong type argument: arrayp, nil Gracjan Polak
2014-04-20 18:16 ` Drew Adams
2014-04-20 18:25 ` Gracjan Polak [this message]
2014-04-20 21:00 ` Drew Adams
[not found] <mailman.19942.1398016221.10748.help-gnu-emacs@gnu.org>
2014-04-20 18:17 ` Pascal J. Bourguignon
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=CAChsM3RMkV9s85E-uXyhJWDE_RmU-7fv+fUzRFRy0iM4utVcTQ@mail.gmail.com \
--to=gracjanpolak@gmail.com \
--cc=drew.adams@oracle.com \
--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).