[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9462: 24.0.50; Initial point in debugger

From: Helmut Eller
Subject: bug#9462: 24.0.50; Initial point in debugger
Date: Thu, 08 Sep 2011 11:03:33 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

When entering the debugger, point is placed at seemingly random
positions.  E.g. executing this file

  (defun foo (n)
    (cond ((zerop n) (debug))
          (t (foo (1- n)))))
  (foo 100))

with emacs -Q -l foo.el opens a *Backtrace* buffer but the cursor is
somewhere near the end of the buffer.  When debugging other code, it's
often somewhere in the middle sometimes at the beginning.

In the old days, point was consistently placed at the first line of the
backtrace (top-of-stack).  That was more useful: it was easier to see
the error message; using d was more convenient as the first line is
almost always the most interesting one.

In GNU Emacs (i686-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2011-09-05 on ix
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
configured using `configure  '--enable-asserts' '--enable-checking' 
'--with-gif=no' '--with-gnutls=no' 'CFLAGS=-g3 -O0''

reply via email to

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