diff options
author | hjk <hjk@theqtcompany.com> | 2015-04-02 16:45:11 +0200 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2015-04-02 14:56:32 +0000 |
commit | bfac365ebb2fb03e0d3b4ed261179f0353cf744a (patch) | |
tree | 3529f33c12d74f51689487576d1ec20a9b234b3e | |
parent | 3417ffad83f4be1e55597883fb099674b8ff93d6 (diff) | |
download | qt-creator-bfac365ebb2fb03e0d3b4ed261179f0353cf744a.tar.gz |
Debugger: Fix parameter passing to LLDB dumper tests
Change-Id: Iae342ffe68385de877c7a1e9a7e61e7d4889f731
Reviewed-by: hjk <hjk@theqtcompany.com>
-rw-r--r-- | share/qtcreator/debugger/lldbbridge.py | 9 | ||||
-rw-r--r-- | tests/auto/debugger/tst_dumpers.cpp | 2 |
2 files changed, 6 insertions, 5 deletions
diff --git a/share/qtcreator/debugger/lldbbridge.py b/share/qtcreator/debugger/lldbbridge.py index e8e6c29bb1..500c0477a8 100644 --- a/share/qtcreator/debugger/lldbbridge.py +++ b/share/qtcreator/debugger/lldbbridge.py @@ -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 diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp index 2de739cf9c..39e7c3bb8a 100644 --- a/tests/auto/debugger/tst_dumpers.cpp +++ b/tests/auto/debugger/tst_dumpers.cpp @@ -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); |