forked from qt-creator/qt-creator
Debugger: Make LLDB instruction-wise stepping work with 3.8.1
Judging from the code it either never worked, or LLDB changed syntax at some time. In either case, having it in a usable state with current version is an improvement. Change-Id: I88b15969bf28b92735d860544dedcbd1d9689765 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -1505,7 +1505,7 @@ class Dumper(DumperBase):
|
||||
self.reportResult('', args)
|
||||
|
||||
def executeNextI(self, args):
|
||||
self.currentThread().StepInstruction(lldb.eOnlyThisThread)
|
||||
self.currentThread().StepInstruction(True)
|
||||
self.reportResult('', args)
|
||||
|
||||
def executeStep(self, args):
|
||||
@@ -1527,7 +1527,7 @@ class Dumper(DumperBase):
|
||||
self.reportResult('', args)
|
||||
|
||||
def executeStepI(self, args):
|
||||
self.currentThread().StepInstruction(lldb.eOnlyThisThread)
|
||||
self.currentThread().StepInstruction(False)
|
||||
self.reportResult('', args)
|
||||
|
||||
def executeStepOut(self, args = {}):
|
||||
|
Reference in New Issue
Block a user