Commit bfac365e authored by hjk's avatar hjk

Debugger: Fix parameter passing to LLDB dumper tests

Change-Id: Iae342ffe68385de877c7a1e9a7e61e7d4889f731
Reviewed-by: default avatarhjk <hjk@theqtcompany.com>
parent 3417ffad
......@@ -1765,12 +1765,13 @@ class Tester(Dumper):
stoppedThread = self.firstStoppedThread()
if stoppedThread is None:
warn("NO STOPPED THREAD FOUND")
for i in xrange(0, self.process.GetNumThreads()):
thread = self.process.GetThreadAtIndex(i)
reason = thread.GetStopReason()
warn("THREAD: %s REASON: %s" % (thread, reason))
continue
#for i in xrange(0, self.process.GetNumThreads()):
# thread = self.process.GetThreadAtIndex(i)
# reason = thread.GetStopReason()
# warn("THREAD: %s REASON: %s" % (thread, reason))
try:
frame = stoppedThread.GetFrameAtIndex(0)
break
......
......@@ -1274,7 +1274,7 @@ void tst_Dumpers::dumper()
"sc sys.path.insert(1, '" + dumperDir + "')\n"
"sc from lldbbridge import *\n"
"sc print(dir())\n"
"sc Tester('" + t->buildPath.toLatin1() + "/doit', '" + expanded + "')\n"
"sc Tester('" + t->buildPath.toLatin1() + "/doit', [" + expandedq + "])\n"
"quit\n";
fullLldb.write(cmds);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment