Added debugging mode for simultaneous QML and C++ debugging

It's not yet possible to attach to an external app running a qml
debugging server, because the server is only started on startup if an
env variable is set. Changing this requires action from Brisbane, but
even the current solution works for C++ apps with QML in them.

Task-number: BAUHAUS-585
Reviewed-by: dt
This commit is contained in:
Lasse Holmstedt
2010-04-15 11:59:22 +02:00
parent 6c244f2162
commit 990ec1be91
20 changed files with 560 additions and 85 deletions

View File

@@ -48,8 +48,6 @@ namespace ProjectExplorer {
namespace Qml {
class QmlInspector;
const int MaxConnectionAttempts = 20;
class QmlInspectorPlugin : public ExtensionSystem::IPlugin
{
Q_OBJECT
@@ -67,15 +65,12 @@ public slots:
void setDockWidgetArrangement(const QString &activeLanguage);
private slots:
void pollInspector();
void prepareDebugger(Core::IMode *mode);
private:
QmlInspector *m_inspector;
QTimer *m_connectionTimer;
int m_connectionAttempts;
};
}
} // Qml
#endif // QMLINSPECTORPLUGIN_H