Debugger: Fix step out and instruction-wise for LLDB

Change-Id: I1017aefdece671f748f00b9c6bc2385d85b8c170
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
hjk
2013-05-24 08:32:12 +02:00
parent 5402b8912c
commit 81b7ed3636
+4 -5
View File
@@ -727,8 +727,7 @@ class Dumper:
self.report(self.describeError(error))
def currentThread(self):
#return self.process.GetSelectedThread()
return self.process.GetThreadAtIndex(0)
return self.process.GetSelectedThread()
def currentFrame(self):
return self.currentThread().GetSelectedFrame()
@@ -1168,7 +1167,7 @@ class Dumper:
self.currentThread().StepOver()
def executeNextI(self, _ = None):
self.currentThread().StepOver()
self.currentThread().StepInstruction(lldb.eOnlyThisThread)
def executeStep(self, _ = None):
self.currentThread().StepInto()
@@ -1177,10 +1176,10 @@ class Dumper:
self.debugger.Terminate()
def executeStepI(self, _ = None):
self.currentThread().StepInstOver()
self.currentThread().StepInstruction(lldb.eOnlyThisThread)
def executeStepOut(self, _ = None):
self.debugger.HandleCommand("thread step-out")
self.currentThread().StepOut()
def executeRunToLine(self, args):
file = args['file']