forked from qt-creator/qt-creator
Debugger: Implement "Create Full Backtrace" for LLDB
Task-number: QTCREATORBUG-11642 Change-Id: I92d7cde1e5021ab06ad72a00645184c41dae0e6b Reviewed-by: Ulf Hermann <ulf.hermann@digia.com> Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -1562,6 +1562,12 @@ class Dumper(DumperBase):
|
||||
def requestModuleSymbols(self, frame):
|
||||
self.handleCommand("target module list " + frame)
|
||||
|
||||
def createFullBacktrace(self, _ = None):
|
||||
command = "thread backtrace all"
|
||||
result = lldb.SBCommandReturnObject()
|
||||
self.debugger.GetCommandInterpreter().HandleCommand(command, result)
|
||||
self.report('full-backtrace="%s"' % self.hexencode(result.GetOutput()))
|
||||
|
||||
def executeDebuggerCommand(self, args):
|
||||
result = lldb.SBCommandReturnObject()
|
||||
command = args['command']
|
||||
|
Reference in New Issue
Block a user