Commit e696b6af authored by hjk's avatar hjk

Debugger: Work around libstd++ crash

Task-number: QTCREATORBUG-15183
Change-Id: I7f0d00c984bb19f025b5e2f576017e0a982ed79a
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 01006580
......@@ -3274,8 +3274,9 @@ void GdbEngine::handleStackListFrames(const DebuggerResponse &response, bool isF
GdbMi frames = response.data["stack"]; // C++
if (!frames.isValid() || frames.childCount() == 0) { // Mixed.
frames.fromStringMultiple(response.consoleStreamOutput);
frames = frames["frames"];
GdbMi mixed;
mixed.fromStringMultiple(response.consoleStreamOutput);
frames = mixed["frames"];
}
stackHandler()->setFramesAndCurrentIndex(frames, isFull);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment