all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
To: alinsoar@voila.fr
Cc: "Emacs Help \[help-gnu-emacs\]" <help-gnu-emacs@gnu.org>
Subject: Re: breakpoint in eval.c
Date: Thu, 22 Mar 2007 15:43:08 +0100	[thread overview]
Message-ID: <m3fy7x8hkz.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <25421215.509891174571866738.JavaMail.www@wwinf4005> (A. Soare's message of "Thu\, 22 Mar 2007 14\:57\:46 +0100 \(CET\)")

A Soare <alinsoar@voila.fr> writes:

> I put a breakpoint in Feval in eval.c on this line:
>
>       args_left = original_args;
>       numargs = Flength (args_left);
>
> 	breakpoint already hit 23715 times
>         silent
>         if numargs > 30
>           stop
>         end
>         continue
>
> Now I called in editor
>
> However, the debugger did not stop in the breakpoint.
>
> Can somebody explain me why please?

numargs is a Lisp_Object; to use it as an integer
you must divide it by 8.

or do:
         if numargs > 240
           stop
         end

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

  reply	other threads:[~2007-03-22 14:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-22 13:57 breakpoint in eval.c A Soare
2007-03-22 14:43 ` Kim F. Storm [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-03-22 14:53 A Soare

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

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

  git send-email \
    --in-reply-to=m3fy7x8hkz.fsf@kfs-l.imdomain.dk \
    --to=storm@cua.dk \
    --cc=alinsoar@voila.fr \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.