예제 #1
0
    def __init__(self, *args, **kwargs):
        LineBreakpoint.__init__(self, *args, **kwargs)
        # This is the _AddBreakpointResult that'll be modified (and then re-sent on the
        # on_changed_breakpoint_state).
        self.add_breakpoint_result = None

        # The signature for the callback should be:
        #     on_changed_breakpoint_state(breakpoint_id: int, add_breakpoint_result: _AddBreakpointResult)
        self.on_changed_breakpoint_state = None

        # When its state is checked (in which case it'd call on_changed_breakpoint_state if the
        # state changed), we store a cache key in 'verified_cache_key' -- in case it changes
        # we'd need to re-verify it (for instance, the template could have changed on disk).
        self.verified_cache_key = None
예제 #2
0
 def __init__(self,
              file,
              line,
              condition,
              func_name,
              expression,
              hit_condition=None,
              is_logpoint=False):
     self.file = file
     LineBreakpoint.__init__(self,
                             line,
                             condition,
                             func_name,
                             expression,
                             hit_condition=hit_condition,
                             is_logpoint=is_logpoint)
예제 #3
0
 def __init__(self,
              canonical_normalized_filename,
              line,
              condition,
              func_name,
              expression,
              hit_condition=None,
              is_logpoint=False):
     self.canonical_normalized_filename = canonical_normalized_filename
     LineBreakpoint.__init__(self,
                             line,
                             condition,
                             func_name,
                             expression,
                             hit_condition=hit_condition,
                             is_logpoint=is_logpoint)
 def __init__(self, file, line, condition, func_name, expression):
     self.file = file
     LineBreakpoint.__init__(self, line, condition, func_name, expression)
예제 #5
0
 def __init__(self, file, line, condition, func_name, expression, hit_condition=None, is_logpoint=False):
     self.file = file
     LineBreakpoint.__init__(self, line, condition, func_name, expression, hit_condition=hit_condition, is_logpoint=is_logpoint)
예제 #6
0
 def __init__(self, file, line, condition, func_name, expression):
     self.file = file
     LineBreakpoint.__init__(self, line, condition, func_name, expression)
예제 #7
0
 def __init__(self, file, line, condition, func_name, expression):
     LineBreakpoint.__init__(self, line, condition, func_name, expression)
     self.file = file
     self.cell_file = None