Debugger: Work around libstd++ crash

Task-number: QTCREATORBUG-15183
Change-Id: I7f0d00c984bb19f025b5e2f576017e0a982ed79a
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2015-10-15 17:45:08 +02:00
parent 01006580c1
commit e696b6af08

View File

@@ -3274,8 +3274,9 @@ void GdbEngine::handleStackListFrames(const DebuggerResponse &response, bool isF
GdbMi frames = response.data["stack"]; // C++ GdbMi frames = response.data["stack"]; // C++
if (!frames.isValid() || frames.childCount() == 0) { // Mixed. if (!frames.isValid() || frames.childCount() == 0) { // Mixed.
frames.fromStringMultiple(response.consoleStreamOutput); GdbMi mixed;
frames = frames["frames"]; mixed.fromStringMultiple(response.consoleStreamOutput);
frames = mixed["frames"];
} }
stackHandler()->setFramesAndCurrentIndex(frames, isFull); stackHandler()->setFramesAndCurrentIndex(frames, isFull);