def __init__(self, project_mark,preload_dt_info={}, skip=None,skip_classes=(),delay=5):
     """ skip_classes is tuple of class objects instances of which will be ignored during analysis"""
     Bdb.__init__(self, skip=skip)
     self._project_mark = project_mark
     self._used_classes_dict = preload_dt_info
     self._skip_classes = skip_classes
     self._delay = delay
Exemple #2
0
 def __init__(self):
     Bdb.__init__(self)
     Cmd.__init__(self)
     self.rcLines = []
     self.prompt = '(zdb) '
     self.aliases = {}
     self.mainpyfile = ''
     self._wait_for_mainpyfile = 0
     self.commands_defining = None
Exemple #3
0
 def __init__(self, app, skip=None):
     Bdb.__init__(self, skip=skip)
     self.begun = False
     self.app = app
     self.ws = WebSocket('localhost', randint(10000, 60000))
     self.connected = False
     tries = 1
     while self.ws == 'FAIL' and tries < 10:
         tries += 1
         self.ws = WebSocket('localhost', randint(10000, 60000))
    def __init__(self, socket):
        Bdb.__init__(self)
        self.socket = socket

        # Imports (attach to this class, don't pollute __main__)
        import json
        self.json = json

        # Remember input pipe attributes
        self._input_buffer = ''
    def __init__(self):
        Bdb.__init__(self)

        self.mainpyfile = ''
        self.filter_var_dict_wait_for_mainpyfile = 0

        # each entry contains a dict with the information for a single
        # executed line
        self.trace = []

        self._exception = None
Exemple #6
0
    def __init__(self):
        Bdb.__init__(self)

        self.mainpyfile = ''
        self.filter_var_dict_wait_for_mainpyfile = 0

        # each entry contains a dict with the information for a single
        # executed line
        self.trace = []

        self._exception = None
Exemple #7
0
 def __init__(self, app, skip=None):
     try:
         Bdb.__init__(self, skip=skip)
     except TypeError:
         Bdb.__init__(self)
     self.begun = False
     self.app = app
     self.ws = WebSocket('0.0.0.0', randint(10000, 60000))
     self.connected = False
     tries = 1
     while self.ws == 'FAIL' and tries < 10:
         tries += 1
         self.ws = WebSocket('0.0.0.0', randint(10000, 60000))
Exemple #8
0
 def __init__(self, port, skip=None):
     MetaWdbRequest._last_inst = self
     try:
         Bdb.__init__(self, skip=skip)
     except TypeError:
         Bdb.__init__(self)
     self.begun = False
     self.connected = False
     self.make_web_socket(port)
     breaks_per_file_lno = Breakpoint.bplist.values()
     for bps in breaks_per_file_lno:
         breaks = list(bps)
         for bp in breaks:
             args = bp.file, bp.line, bp.temporary, bp.cond
             self.set_break(*args)
             log.info('Resetting break %s' % repr(args))
Exemple #9
0
    def __init__(self):
        Bdb.__init__(self)
        self.fncache = {}
        self.botframe = None

        self.__queue = Queue.Queue(0)

        # self._lock governs which thread the debugger will stop in.
        self._lock = ThreadChoiceLock()

        self.repr = repr = Repr()
        repr.maxstring = 100
        repr.maxother = 100
        self.maxdict2 = 1000

        self._running = 0
        self.cleanupServer()
        self.stopframe = ()  # Don't stop unless requested to do so.
    def __init__(self):
        Bdb.__init__(self)
        self.fncache = {}
        self.botframe = None

        self.__queue = Queue.Queue(0)

        # self._lock governs which thread the debugger will stop in.
        self._lock = ThreadChoiceLock()

        self.repr = repr = Repr()
        repr.maxstring = 100
        repr.maxother = 100
        self.maxdict2 = 1000

        self._running = 0
        self.cleanupServer()
        self.stopframe = ()  # Don't stop unless requested to do so.
Exemple #11
0
 def __init__(self, *args):
     Bdb.__init__(self, *args)
     self.stack = []
     self.current_module = None
Exemple #12
0
 def __init__(self):
     Bdb.__init__(self)
     self.line_handler = None
     self.last_lineno = None
     self.globals = {}
     self.locals = self.globals
 def __init__(self, *args, entry_func, module, stopping_conditions,
              memoization_mapping):
     Bdb.__init__(self, *args)
     pass
Exemple #14
0
 def __init__(self, *args):
     Bdb.__init__(self, *args)
     self.codes = set()
Exemple #15
0
 def __init__(self, *args):
     Bdb.__init__(self, *args)
     self.stack = set()
Exemple #16
0
 def __init__(self, panel, *args, **kargs):
     Bdb.__init__(self, *args, **kargs)
     self.panel = panel
Exemple #17
0
 def __init__(self, panel, *args, **kargs):
     Bdb.__init__(self, *args, **kargs)
     self.panel = panel
 def __init__(self):
     Bdb.__init__(self)
     self.breakpoints = dict()
     self.set_trace()
Exemple #19
0
 def __init__(self, *args):
     Bdb.__init__(self, *args)
     self.codes = set()