~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/developers/HACKING.txt

  • Committer: Launchpad Translations on behalf of bzr-core
  • Date: 2012-07-11 04:34:44 UTC
  • mto: (6581.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 6582.
  • Revision ID: launchpad_translations_on_behalf_of_bzr-core-20120711043444-s6bhpt1r22h4fpi1
Launchpad automatic translations update.

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
===========