guile-devel
[Top][All Lists]
Advanced

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

Re: Debugging plans


From: Neil Jerram
Subject: Re: Debugging plans
Date: 01 Jul 2001 09:29:25 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>>>> "Thien-Thi" == Thien-Thi Nguyen <address@hidden> writes:

    Thien-Thi> from the emacs side, it would be nice to have inferior
    Thien-Thi> guile processes talk sexps through a "debug socket"...

This sounds like a good approach in general.  I think it's good to
remember - at risk of heresy - that Emacs is not the only possible
IDE, and to design an interface mechanism that is not Emacs-specific,
and I think your approach already does this.  I have one reservation
about it, namely...

- Is it really necessary to use an additional socket for debug info?
  Given that the IDE is the only sink for output from guile, why not
  just use a convention for identifying significant bits of stdout (as
  in current gdb + emacs)?

    Thien-Thi>  (register 1 "AB302F") (register 2 ...)

    Thien-Thi> the emacs groks these w/ a `read' variant

It's dead useful that elisp's and scheme's read can read a lot of each
other's stuff, isn't it!

    Thien-Thi> just stumbled on the "Transaction Queues" node in the
    Thien-Thi> elisp manual and am in the midst of trying that
    Thien-Thi> approach -- it's more high level and easier to manage,
    Thien-Thi> IMHO.

This looks cool; I never knew that elisp/emacs had this kind of
facility in it!

        Neil




reply via email to

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