Esempio n. 1
0
    def __init__(self):
        """ Creates the LLDB SBDebugger object and initializes the UI class. """
        self.target = None
        self.process = None
        self.load_dependent_modules = True

        self.dbg = lldb.SBDebugger.Create()
        self.commandInterpreter = self.dbg.GetCommandInterpreter()

        self.ui = UI()
Esempio n. 2
0
  def __init__(self):
    """ Creates the LLDB SBDebugger object and initializes the UI class. """
    self.target = None
    self.process = None
    self.load_dependent_modules = True

    self.dbg = lldb.SBDebugger.Create()
    self.commandInterpreter = self.dbg.GetCommandInterpreter()
    self.commandInterpreter.HandleCommand("settings set target.load-script-from-symbol-file false", lldb.SBCommandReturnObject())

    self.ui = UI()
Esempio n. 3
0
    def __init__(self):
        """ Creates the LLDB SBDebugger object and initializes the UI class. """
        self.target = None
        self.process = None
        self.load_dependent_modules = True

        self.dbg = lldb.SBDebugger.Create()
        # during step/continue do not return from function until process stops
        # async is enabled by default, but overridden in vimrc g:lldb_enable_async
        vimrc_lldb_async = vim.eval('s:lldb_async')
        if (vimrc_lldb_async == 0):
            self.dbg.SetAsync(False)
        else:
            self.dbg.SetAsync(True)

        self.commandInterpreter = self.dbg.GetCommandInterpreter()

        self.ui = UI()