summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@theqtcompany.com>2015-02-18 12:50:12 +0100
committerhjk <hjk@theqtcompany.com>2015-02-18 12:05:05 +0000
commit1e0b7e527ff1a8aea21c27a1ef954ca0857ef7d5 (patch)
tree3a435d4650b75f27f646f4905b0c838d0586367f
parentda92b099695ef7174742e85febfad408d42775e1 (diff)
downloadqt-creator-1e0b7e527ff1a8aea21c27a1ef954ca0857ef7d5.tar.gz
Debugger: Fix crash when hitting a break point
Change-Id: Ie1665f546ef683fc92a5a0cda20150886257844e Reviewed-by: hjk <hjk@theqtcompany.com>
-rw-r--r--src/plugins/debugger/threadshandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/threadshandler.cpp b/src/plugins/debugger/threadshandler.cpp
index 5b588bfb1c..3ca82f6dd3 100644
--- a/src/plugins/debugger/threadshandler.cpp
+++ b/src/plugins/debugger/threadshandler.cpp
@@ -461,7 +461,7 @@ void ThreadsHandler::updateThreads(const GdbMi &data)
// m_currentIndex = -1;
// }
- const std::vector<GdbMi> &items = data["threads"].children();
+ const std::vector<GdbMi> items = data["threads"].children();
const int n = items.size();
for (int index = 0; index != n; ++index) {
const GdbMi item = items[index];