~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/developers/HACKING.txt

  • Committer: Vincent Ladeuil
  • Date: 2011-08-19 16:55:28 UTC
  • mto: This revision was merged to the branch mainline in revision 6087.
  • Revision ID: v.ladeuil+lp@free.fr-20110819165528-ikoyfp76ww3welpa
Update HACKING.txt.

Show diffs side-by-side

added added

removed removed

Lines of Context:
436
436
be disabled if necessary by setting the environment variable
437
437
``BZR_SIGQUIT_PDB=0``.
438
438
 
 
439
All tests inheriting from bzrlib.tests.TestCase can use ``self.debug()``
 
440
instead of the longer ``import pdb; pdb.set_trace()``. The former also works
 
441
when ``stdin/stdout`` are redirected (by using the original ``stdin/stdout``
 
442
file handles at the start of the ``bzr`` script) while the later doesn't.
 
443
``bzrlib.debug.set_trace()`` also uses the original ``stdin/stdout`` file
 
444
handles.
439
445
 
440
446
Debug Flags
441
447
===========