forked from qt-creator/qt-creator
Debugger: Fix crash when hitting a break point
Change-Id: Ie1665f546ef683fc92a5a0cda20150886257844e Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user