[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] find-file-noselect-1
From: |
Kim F. Storm |
Subject: |
Re: [PATCH] find-file-noselect-1 |
Date: |
Fri, 11 Feb 2005 09:51:59 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Nick Roberts <address@hidden> writes:
> > BTW, I firmly vote against any such change (even if done via
> > find-file-hook): gdba.el should be trying to be more robust (in the face of
> > unexpected or missing output from gdb), not more featureful.
>
> Currently, in a debug session with gdb-ui, the first breakpoint has to be set
> either with a global binding e.g C-x SPC or through the GUD buffer. No other
> debugger, that I know of, puts such an unintuitive constraint on the user.
> This patch makes the fringe available for setting breakpoints at the start
> of the session. I wouldn't call that a adding new feature, but rather making
> an existing one more sound.
I agree with you that we need to have this feature.
But can't gdb-ui just bind [left-fringe mouse-1] to a gdb-ui specific
command in global-map? That command could check if the buffer is
a source file and set breakpoints accordingly (if gdb is running
and in a state that allows it to set a breakpoint), and just
do mouse-set-point otherwise.
--
Kim F. Storm <address@hidden> http://www.cua.dk
Re: [PATCH] find-file-noselect-1, Stefan Monnier, 2005/02/10
Re: [PATCH] find-file-noselect-1, Nick Roberts, 2005/02/11
Re: [PATCH] find-file-noselect-1, Kim F. Storm, 2005/02/11