forked from qt-creator/qt-creator
Debugger: Move QML stack access to DumperBase
... and make it work with LLDB. Change-Id: Idaec029942dbcc726931781caff830173f7b126a Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -1000,6 +1000,12 @@ void LldbEngine::refreshStack(const GdbMi &stack)
|
||||
frame.usable = usable.data().toInt();
|
||||
else
|
||||
frame.usable = QFileInfo(frame.file).isReadable();
|
||||
if (item["language"].data() == "js"
|
||||
|| frame.file.endsWith(QLatin1String(".js"))
|
||||
|| frame.file.endsWith(QLatin1String(".qml"))) {
|
||||
frame.language = QmlLanguage;
|
||||
frame.fixQmlFrame(startParameters());
|
||||
}
|
||||
frames.append(frame);
|
||||
}
|
||||
bool canExpand = stack["hasmore"].toInt();
|
||||
|
||||
Reference in New Issue
Block a user