~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/debug.py

  • Committer: John Arbash Meinel
  • Date: 2007-07-13 02:23:34 UTC
  • mfrom: (2592 +trunk) (2612 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2614.
  • Revision ID: john@arbash-meinel.com-20070713022334-qb6ewgo6v4251yd9
[merge] bzr.dev 2612

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
 
18
18
debug_flags = set()
19
 
"""Set of flags that enable different debug behaviour"""
20
 
 
 
19
"""Set of flags that enable different debug behaviour.
 
20
 
 
21
These are set with eg ``-Dlock`` on the bzr command line.
 
22
 
 
23
Options include:
 
24
    
 
25
 * error - show stack traces for all top level exceptions
 
26
 * hooks 
 
27
 * hpss - trace smart protocol requests and responses
 
28
 * lock - trace when lockdir locks are taken or released
 
29
 
 
30
"""