~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/debug.py

  • Committer: Ian Clatworthy
  • Date: 2007-08-28 01:41:12 UTC
  • mto: This revision was merged to the branch mainline in revision 2751.
  • Revision ID: ian.clatworthy@internode.on.net-20070828014112-39zjg3wvfmzy3e8u
(Ian Clatworthy)(trivial) Add comment to debug.py re keeping global-options help in sync.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16
16
 
17
17
 
 
18
# NOTE: If update these, please also update the help for global-options in
 
19
#       bzrlib/help_topics.py.
 
20
 
18
21
debug_flags = set()
19
22
"""Set of flags that enable different debug behaviour.
20
23
 
24
27
 
25
28
 * evil - capture call sites that do expensive or badly-scaling operations.
26
29
 * error - show stack traces for all top level exceptions
27
 
 * hooks 
 
30
 * hooks - trace hook execution
28
31
 * hpss - trace smart protocol requests and responses
29
32
 * index - trace major index operations
30
33
 * lock - trace when lockdir locks are taken or released