Exemplo n.º 1
0
 def __init__(self, context):
     self.context = context
     self._interface = None
     self.has_loaded = False
     self._loading_error = NotYetLoadedDebuggerException()
     try:
         self._interface = self._load_interface()
         self.has_loaded = True
         self._loading_error = None
     except DebuggerException:
         self._loading_error = sys.exc_info()
Exemplo n.º 2
0
    def __init__(self, context):
        self.context = context
        # Note: We can't already read values from options
        # as DebuggerBase is created before we initialize options
        # to read potential_debuggers.
        self.options = self.context.options

        self._interface = None
        self.has_loaded = False
        self._loading_error = NotYetLoadedDebuggerException()
        try:
            self._interface = self._load_interface()
            self.has_loaded = True
            self._loading_error = None
        except DebuggerException:
            self._loading_error = sys.exc_info()
Exemplo n.º 3
0
    def __init__(self, context, step_collection):
        self.context = context
        self.steps = step_collection
        self._interface = None
        self.has_loaded = False
        self._loading_error = NotYetLoadedDebuggerException()
        self.watches = set()

        try:
            self._interface = self._load_interface()
            self.has_loaded = True
            self._loading_error = None
        except DebuggerException:
            self._loading_error = sys.exc_info()

        self.step_index = 0