예제 #1
0
    def run(self, thread=None):
        self.setup()
        if LLDBPlugin.ensure_lldb_is_running(self.window):
            sublime.status_message('Debugging session started.')
        else:
            sublime.error_message('Couldn\'t get a debugging session.')
            return False

        if thread is None:
            thread = driver_instance().current_thread()

        if not thread:
            return False

        base_reg_view = get_lldb_output_view(self.window, lldb_variable_view_name(thread))
        if isinstance(base_reg_view, LLDBVariableView):
            reg_view = base_reg_view
        else:
            reg_view = LLDBVariableView(base_reg_view, thread)
        reg_view.full_update()
        self.window.focus_view(reg_view.base_view())
예제 #2
0
    def run(self, thread=None):
        self.setup()
        if LLDBPlugin.ensure_lldb_is_running(self.window):
            sublime.status_message('Debugging session started.')
        else:
            sublime.error_message('Couldn\'t get a debugging session.')
            return False

        if thread is None:
            thread = driver_instance().current_thread()

        if not thread:
            return False

        base_reg_view = get_lldb_output_view(self.window,
                                             lldb_variable_view_name(thread))
        if isinstance(base_reg_view, LLDBVariableView):
            reg_view = base_reg_view
        else:
            reg_view = LLDBVariableView(base_reg_view, thread)
        reg_view.full_update()
        self.window.focus_view(reg_view.base_view())
예제 #3
0
 def __init__(self, view, thread):
     self.__thread = thread
     super(LLDBVariableView, self).__init__(view)
     self.set_name(lldb_variable_view_name(thread))
     self.set_scratch()
예제 #4
0
 def __init__(self, view, thread):
     self.__thread = thread
     super(LLDBVariableView, self).__init__(view)
     self.set_name(lldb_variable_view_name(thread))
     self.set_scratch()