all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "R. Bernstein" <rocky@panix.com>
Subject: Re: gud.el organization and adding debuggers
Date: Thu, 2 Feb 2006 23:08:38 -0500	[thread overview]
Message-ID: <17378.55110.663952.964583@panix3.panix.com> (raw)
In-Reply-To: <87d5i5npmn.fsf-monnier+emacs@gnu.org>

Stefan Monnier writes:
 > >> Yes, GUD's support for particular debuggers should be made more modular.
 > >> It should also be possible to have several GUD sessions using different
 > >> debuggers at the same time.
 > 
 > > Huh? Currently I have have no problem having several GUD sessions.
 > 
 > Really?  And those GUD sessions don't all use the same debugger?
 > Which debuggers do they use?

Whatever I asked to be debugged. Could be perl's, mdb, bashdb, pydb
and/or gdb. As I look at my emacs buffer list, I see all of them in
use right now. The two gdb sessions debug different programs and have
different breakpoints set for each -- different gdb states (file args,
etc.), and that is true in other debuggers when I debug multiple
programs.

If you're trying to be diadactic, give it up. I wrote "Currently I
have no problem having serveral GUD sessions", and just take that at
face value. No doubt there are subtleties I'm missing and perhaps when
you add into GNU Emacs in whatever it is you are clearly conveying (to
others), feeble me will see the light and marvel at it.

I'm still down at the level where I am trying to understand where/when
the "local-set-key" of the "menu-bar" keymap makes itself evident to
users. ;-)

 > 
 > > And if I want to debug the same program more than once
 > > simultaneously a "rename-buffer" or "rename-uniquely" works for
 > > me.
 > 
 > The problem is (among a few others) that each sessions makes global changes.
 > E.g. `gud-def' redefines globally the text sent to the underlying debuggers.

Okay. 

 > I'd rather keep as many entries in gud-menu-map as possible, and simply make
 > them invisible when the debugger doesn't support them.  This will ensure
 > better consistency between the various debuggers supported.

By all means -- GO FOR IT! I'm assuming these changes you envision
will at least solve the set of issues that have been troubling me.

Thanks for volunteering to take this on.

  reply	other threads:[~2006-02-03  4:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-02  0:57 gud.el organization and adding debuggers R. Bernstein
2006-02-02  5:30 ` Stefan Monnier
2006-02-02 22:50   ` R. Bernstein
2006-02-03  2:30     ` Stefan Monnier
2006-02-03  4:08       ` R. Bernstein [this message]
2006-02-03  4:34         ` Stefan Monnier
2006-02-05  7:44   ` Nick Roberts
2006-02-05  7:44 ` Nick Roberts
     [not found] <20060205174024.2BCBB9DB3E@mail2.panix.com>
2006-02-06  3:02 ` R. Bernstein
2006-02-06  5:07   ` 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

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

  git send-email \
    --in-reply-to=17378.55110.663952.964583@panix3.panix.com \
    --to=rocky@panix.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.
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.