Debugger: Fix crash when hitting a break point

Change-Id: Ie1665f546ef683fc92a5a0cda20150886257844e
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
Nikolai Kosjar
2015-02-18 12:50:12 +01:00
committed by hjk
parent da92b09969
commit 1e0b7e527f

View File

@@ -461,7 +461,7 @@ void ThreadsHandler::updateThreads(const GdbMi &data)
// m_currentIndex = -1; // m_currentIndex = -1;
// } // }
const std::vector<GdbMi> &items = data["threads"].children(); const std::vector<GdbMi> items = data["threads"].children();
const int n = items.size(); const int n = items.size();
for (int index = 0; index != n; ++index) { for (int index = 0; index != n; ++index) {
const GdbMi item = items[index]; const GdbMi item = items[index];