unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Andy Wingo <wingo@pobox.com>
To: Mike Gran <spk121@yahoo.com>
Cc: guile-devel <guile-devel@gnu.org>
Subject: Re: repl debugger impressions
Date: Tue, 19 Oct 2010 20:33:44 +0200	[thread overview]
Message-ID: <m3mxqa822f.fsf@unquote.localdomain> (raw)
In-Reply-To: <519970.1475.qm@web37901.mail.mud.yahoo.com> (Mike Gran's message of "Fri, 15 Oct 2010 12:07:19 -0700 (PDT)")

On Fri 15 Oct 2010 21:07, Mike Gran <spk121@yahoo.com> writes:

> I think, in general, there are too many hexadecimal addresses
> in the output. For example
>
> -> Step into #<frame a1b2c3d4 #<procedure ...

Agreed, this is terrible. It should be understandable by the user;
e.g. "step from ice-9/boot-9.scm:2936", or something like that.

> Also, there is one feature that would make the debugger much
> more valuable to me.  If, after every ",step" or ",next", it
> printed out the filename:line:column, that'd be helpful.  I
> hacked on it a little, and I think it would be easy to do.

Yes, you are right here also.

> And, if that filename:line:column were delimited by something
> unique, for example curly braces, it would then be easy enough
> to write an Emacs minor mode to pick up that filename:line:column
> from the Geiser or Shell window and automatically center another
> window on that file at that source line, the way the GDB GUD mode
> does.

Yes, also agreed, though I would have the pattern be something like
<Beginning of line>foo.scm:line:col: ... .

Cheers,

Andy
-- 
http://wingolog.org/



      parent reply	other threads:[~2010-10-19 18:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-15 19:07 repl debugger impressions Mike Gran
2010-10-17 13:10 ` Ludovic Courtès
2010-10-17 18:00   ` Jose A. Ortega Ruiz
2010-10-19 18:33 ` Andy Wingo [this message]

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/guile/

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

  git send-email \
    --in-reply-to=m3mxqa822f.fsf@unquote.localdomain \
    --to=wingo@pobox.com \
    --cc=guile-devel@gnu.org \
    --cc=spk121@yahoo.com \
    /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).