forked from qt-creator/qt-creator
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:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user