diff options
author | Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> | 2015-02-18 12:50:12 +0100 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2015-02-18 12:05:05 +0000 |
commit | 1e0b7e527ff1a8aea21c27a1ef954ca0857ef7d5 (patch) | |
tree | 3a435d4650b75f27f646f4905b0c838d0586367f | |
parent | da92b099695ef7174742e85febfad408d42775e1 (diff) | |
download | qt-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.cpp | 2 |
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]; |