~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to HACKING

  • Committer: Martin Pool
  • Date: 2007-04-24 04:51:31 UTC
  • mto: This revision was merged to the branch mainline in revision 2450.
  • Revision ID: mbp@sourcefrog.net-20070424045131-gyjo7l8oa99ndyrv
Add BZR_SIGQUIT_PDB=0 option to disable breakin.

Split tests for this into test_breakin, and make them a bit more robust.

Show diffs side-by-side

added added

removed removed

Lines of Context:
481
481
Bazaar has a few facilities to help debug problems by going into pdb_, the
482
482
Python debugger.
483
483
 
484
 
http://docs.python.org/lib/debugger-commands.html
 
484
.. _pdb: http://docs.python.org/lib/debugger-commands.html
485
485
 
486
486
If the ``BZR_PDB`` environment variable is set 
487
487
then bzr will go into pdb post-mortem mode when an unhandled exception
489
489
 
490
490
If you send a SIGQUIT signal to bzr, which can be done by pressing C-\ on Unix,
491
491
bzr will go into the debugger immediately.  You can continue execution by
492
 
typing ``c``.
 
492
typing ``c``.  This can be disabled if necessary by setting the
 
493
environment variable ``BZR_SIGQUIT_PDB=0``.
493
494
 
494
495
 
495
496