-=[ Mr. Bumblebee ]=-
_Indonesia_
ó
î:ïNc @@ s5 d Z d d l m Z e ƒ Z d „ Z d „ Z d S( s Set of flags that enable different debug behaviour.
These are set with eg ``-Dlock`` on the bzr command line or in
~/.bazaar/bazaar.conf debug_flags.
See `bzr help debug-flags` or `bzrlib/help_topics/en/debug-flags.txt`
for a list of the available options.
i ( t absolute_importc C@ sG d d l m } | j ƒ } x$ | j d ƒ D] } t j | ƒ q, Wd S( s5 Turn on debug flags based on the global configurationi ( t configt debug_flagsN( t bzrlibR t GlobalStackt getR t add( R t ct f( ( s0 /usr/lib/python2.7/dist-packages/bzrlib/debug.pyt set_debug_flags_from_config s c C@ sJ d d l } d d l } | j d | j d | j ƒ j | j ƒ j ƒ d S( sx Pdb using original stdin and stdout.
When debugging blackbox tests, sys.stdin and sys.stdout are captured for
test purposes and cannot be used for interactive debugging. This class uses
the origianl stdin/stdout to allow such use.
Instead of doing:
import pdb; pdb.set_trace()
you can do:
from bzrlib import debug; debug.set_trace()
i Nt stdint stdout( t pdbt syst Pdbt __stdin__t
__stdout__t set_tracet _getframet f_back( R R
( ( s0 /usr/lib/python2.7/dist-packages/bzrlib/debug.pyR ) s N( t __doc__t
__future__R t setR R R ( ( ( s0 /usr/lib/python2.7/dist-packages/bzrlib/debug.pyt <module> s
Copyright © 2017 || Recoded By Mr.Bumblebee