[merge] Control-backspace to drop into the debugger

Martin Pool mbp at sourcefrog.net
Tue Apr 17 06:16:37 BST 2007


On 4/17/07, Robert Collins <robertc at robertcollins.net> wrote:
> On Tue, 2007-04-17 at 14:57 +1000, Martin Pool wrote:
> > This patch lets you press C-\ to go into pdb at any time.   This is
> > pretty useful if it has hung, or just if you want to see what is
> > taking time.
> >
> > As always you can then type 'c' to continue execution.  This will in
> > some cases find problems where we don't handle EINTR correctly, but
> > those are bugs in other cases and should be fixed.
>
>
> How is this different to 'BZR_PDB=1 bzr' ? Do we need both? Or should we
> remove that variable in this patch?

That puts you into pdb if an error occurs.  This puts you in at any
time of your choosing.  They're different.

I should maybe explain them in HACKING as well.

-- 
Martin



More information about the bazaar mailing list