unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@suse.de>
Cc: Nick Roberts <nickrob@gnu.org>, emacs-devel@gnu.org
Subject: Re: gdb-ui can't handle mutiple debugging sessions
Date: Mon, 13 Sep 2004 01:32:57 +0200	[thread overview]
Message-ID: <jey8jft652.fsf@sykes.suse.de> (raw)
In-Reply-To: <m1brgb8614.fsf-monnier+emacs@gnu.org> (Stefan's message of "Sun, 12 Sep 2004 18:49:04 -0400")

Stefan <monnier@iro.umontreal.ca> writes:

>>> When trying to use two debugging sessions at the same time gdb-ui gets
>>> completely confused.  As soon as I start the second session all input is
>>> sent to it, even when typed in the window of the first session.  This is a
>>> serious regression compared the old interface.
>
>> Thats right, gdb-ui can only handle one debugging session at a time. Trying
>> to run more seemed to require the code to be a lot more complex and
>> at the time only one overlay arrow was available so, in any case the old
>> interface didn't do it very well. I have always found the best way to run
>> two
>> debugging sessions at the same time is to run two versions of Emacs.
>> Whats the problem with this approach?

I do all my work in a single Emacs session.  Having to start a new
instance would mean not being able to share buffers and various history
lists, for example.

> Do multiple sessions still work (at least as well as before) if you use
> `gdb --fullname'?

Multiple sessions with --fullname also have some limitations, but they are
easily understood.  For example, trying to set a breakpoint in a source
file with C-x a SPC will send the command to the last active session,
which is usually what you want, but not always.  In general, it works
quite well.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

  reply	other threads:[~2004-09-12 23:32 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-12 20:06 gdb-ui can't handle mutiple debugging sessions Andreas Schwab
2004-09-12 22:12 ` Nick Roberts
2004-09-12 22:49   ` Stefan
2004-09-12 23:32     ` Andreas Schwab [this message]
2004-09-12 23:44       ` Miles Bader
2004-09-13  3:17       ` Stefan
2004-09-14  1:33     ` Nick Roberts
2004-09-14  2:19       ` Kenichi Handa
2004-09-15  3:39         ` Nick Roberts
2004-09-15  4:10           ` Kenichi Handa
  -- strict thread matches above, loose matches on Subject: below --
2004-09-15 13:22 Zoltan Kemenczy
2004-09-15 21:08 Nick Roberts
2004-09-15 22:05 Zoltan Kemenczy
2004-09-15 22:16 ` Stefan Monnier
2004-09-16  0:05 Zoltan Kemenczy
2004-09-16 13:58 ` Stefan
2004-09-17  4:17   ` Nick Roberts

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=jey8jft652.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    --cc=emacs-devel@gnu.org \
    --cc=nickrob@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 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).