all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nick Roberts <nick@nick.uklinux.net>
Cc: emacs-devel@gnu.org
Subject: Could the new gud changes move to a branch?
Date: Fri, 9 Apr 2004 10:31:09 +0100	[thread overview]
Message-ID: <16502.27997.743119.295324@nick.uklinux.net> (raw)
In-Reply-To: <m2vfk9oc6m.fsf@Majnun.local>


 > I appreciate whoever is trying to make gud smarter, but unfortunately
 > is stumbling over its own feet far too often.  It has nearly rendered
 > debugging from within Emacs impossible.

Are things better or worse after the changes (2004-04-08) that I've just made?
I've removed some constraints for buffer display but maybe there is too much
freedom now.

 > It is much slower to get started.  It creates three windows, but
 > expects a certain arrangement, so that every once in a while when I
 > hit my breakpoint I am left with only the source window -- and must
 > hit C-x C-b to get back to the *gud* window.

I don't why its slower unless you are starting with a large disassembly view.
What are the three windows?

 > I really like the new disassembly view,...

I've included this as other debuggers have it but I don't use it myself>
What is it useful for?

 >                                      ...but at one point I got myself
 > into a situation where I simply could not switch my buffer away from
 > it.  It seemed to take over my minibuffer or something, and I had to
 > kill the process and restart it.
 > 
 > And lastly it seems that if the input/output window goes away (from
 > hitting C-x 1), and then I switch to the *gud* window and hit "up" or
 > "down", that it redisplays my frame so that only the source window and
 > the input/output window are displayed.  I have to keep switching to
 > the *gud* buffer.
 > 
 > Anyway, it has felt very complicated, and I used to be such a fan of
 > debugging with gdb under Emacs.  So could we go back to the old,
 > simple way until things settle down and the new code is better tested
 > by the author?  

The idea behind making "gdb --annotate=3" the default was to get feedback from
others.  Testing it all myself seems a rather sterile approach.

To get the old, simple way all you need to do is set gud-gdb-command-name to
"gdb --fullname" using customise. I've tried quite hard to keep the old
functionality there. Creating a branch for one elisp file doesn't seem
realistic. 

The (last?) remaining problem for GDB-UI seems to be buffer display and this
should be resolved by the time Emacs is released from trunk. If not, then it
will be quite straightforward to reset the default. In the meantime I would
like to keep it as it is to encourage its use in what, after all, is an
experimental version of Emacs.

 > I think I will start using 21.3 for my debugging.

For debugging emacs in CVS that seems a good idea, in any case.

Nick

  reply	other threads:[~2004-04-09  9:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-09  7:14 Could the new gud changes move to a branch? John Wiegley
2004-04-09  9:31 ` Nick Roberts [this message]
2004-04-09 15:52 ` Stefan Monnier
2004-04-11  2:35 ` Richard Stallman

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=16502.27997.743119.295324@nick.uklinux.net \
    --to=nick@nick.uklinux.net \
    --cc=emacs-devel@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.