forked from qt-creator/qt-creator
Debugger: Engines Queried on Reload of Qml.
Change-Id: I75de9fa584af8eb22a3eac6b0ab9d30b87d2ed69 Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
This commit is contained in:
committed by
Aurindam Jana
parent
bd5fe5243b
commit
e4677d5a91
@@ -593,6 +593,7 @@ void QmlInspectorAdapter::onReloaded()
|
||||
QmlJS::Document::Ptr doc = snapshot.document(it.key());
|
||||
it.value()->resetInitialDoc(doc);
|
||||
}
|
||||
m_agent->reloadEngines();
|
||||
}
|
||||
|
||||
void QmlInspectorAdapter::onDestroyedObject(int objectDebugId)
|
||||
|
@@ -90,6 +90,7 @@ public:
|
||||
void setEngineClient(QmlDebug::BaseEngineDebugClient *client);
|
||||
QString displayName(int objectDebugId) const;
|
||||
int parentIdForObject(int objectDebugId);
|
||||
void reloadEngines();
|
||||
|
||||
public slots:
|
||||
void fetchContextObjectsForLocation(const QString &file,
|
||||
@@ -110,7 +111,6 @@ private slots:
|
||||
void onValueChanged(int debugId, const QByteArray &propertyName, const QVariant &value);
|
||||
|
||||
private:
|
||||
void reloadEngines();
|
||||
void fetchObjectsInContextRecursive(const QmlDebug::ContextReference &context);
|
||||
|
||||
void objectTreeFetched(const QmlDebug::ObjectReference &result);
|
||||
|
Reference in New Issue
Block a user