def on_load(self, v): lldb_view = get_lldb_view_for(v) if lldb_view: debug(debugMonitors, 'on_load: isloading: %s, %s' % (str(v.is_loading()), str((repr(lldb_view), lldb_view.file_name())))) # TODO: Instead of updating it here (pre_update will execute # on the main thread), send a message to the LLDBUIUpdater lldb_view.full_update()
def to_ui_thread(): window_ref().focus_group(0) v = window_ref().open_file(filename) lldb_view = get_lldb_view_for(v) if lldb_view is None: lldb_view = LLDBCodeView(v, driver)
def on_close(self, v): lldb_view = get_lldb_view_for(v) # TODO: Check if there are other views for the same buffer # I blame Sublime Text for mixing both concepts into “something”. if lldb_view: del_lldb_view(lldb_view)