unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Noam Postavsky <npostavs@users.sourceforge.net>
Cc: Emacs Development <emacs-devel@gnu.org>
Subject: Re: pretty printing frames from *Backtrace*
Date: Sat, 19 Nov 2016 04:30:58 +0100	[thread overview]
Message-ID: <877f80i1sd.fsf@web.de> (raw)
In-Reply-To: <CAM-tV-_Os7W8UARzE3p8F_qOYofA7U7p+M=4sD7_RnFzZPCM_w@mail.gmail.com> (Noam Postavsky's message of "Fri, 18 Nov 2016 22:09:35 -0500")

Noam Postavsky <npostavs@users.sourceforge.net> writes:

> It seems to be 2 frames off non-compiled, and not working at all when
> compiled. But I think it's something that is sorely lacking from the
> debugger currently.

I had tested it in emacs -Q, worked well here compiled (emacs-25
branch).

> I think it would be easier to integrate directly into the debugger, it
> would probably save the trouble of cumbersome frame counting.

Doesn't the debugger already do frame counting from Lisp - see
`debugger-frame-number' (AFAICT marking frames for debugger-reentry is
based on this)?  FWIW I've changed my code to use this function instead
of reinventing the wheel.


Michael.



  reply	other threads:[~2016-11-19  3:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-19  3:09 pretty printing frames from *Backtrace* (WAS: Rant on ...) Noam Postavsky
2016-11-19  3:30 ` Michael Heerdegen [this message]
2016-11-21 23:31   ` pretty printing frames from *Backtrace* Noam Postavsky
2016-11-22  0:28     ` Clément Pit--Claudel
2016-11-22 14:22       ` Michael Heerdegen
2016-11-24 23:05         ` Noam Postavsky

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=877f80i1sd.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=emacs-devel@gnu.org \
    --cc=npostavs@users.sourceforge.net \
    /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 public inbox

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

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).