Commit Graph

20 Commits

Author SHA1 Message Date
Lasse Holmstedt
b557c58eac Qml Debugger: Enable debugging qml+cpp standalone applications
A new debugger engine, QmlCppEngine, is introduced, which wraps gdb
and qml engines into one. Alternatively, if using Windows, Cdb is used
instead of Gdb.

Most of the debugger ui switcher is now rewritten, and it is tailored
for the QML and CPP layout case, the only one supported anyway.

Reviewed-by: hjk
2010-08-24 17:46:22 +02:00
Lasse Holmstedt
b71c3c62ba QML Debugger refactoring
Now, QmlEngine creates the connection to the inferior (debuggee), and
notifies QmlInspector when a connection is established. Before,
inspector created the debugger engin, which was wrong.

QmlEngine's responsibilities are connecting to the debuggee and basic
QML/JS debugging features like locals & watchers, breakpoints etc.
QmlInspector takes care of Live Preview and other fancy inspection
features.

Reviewed-by: hjk
2010-08-13 14:20:39 +02:00
Lasse Holmstedt
d572efedbd Added settings class to QML Inspector
For starters, we only remember whether the initial warning about dangers
of Live Preview was shown.
2010-08-12 09:39:26 +02:00
hjk
ceb65a1e62 qmljsinspectorplugin: coding style 2010-08-11 16:12:04 +02:00
Lasse Holmstedt
524d4453e5 Qml JS Inspector: Added context crumble path as a dock widget
The crumble path shows the current context of the debugger/inspector.
2010-08-02 17:31:11 +02:00
Lasse Holmstedt
2c15b30a20 Qml JS Live Preview: Show warnings when running Live Preview
Two kinds of warnings are now shown: one for warning about the Live
Preview itself, as it is experimental, and another when user changes
id's of objects during runtime, as this is not supported at the moment.

More warnings will be added later for other unsupported changes.
2010-07-30 15:28:19 +02:00
Lasse Holmstedt
fb681918c6 QmlJS Live Preview: Added color box to toolbar 2010-07-27 11:58:38 +02:00
Lasse Holmstedt
c7a8d93765 QmlJS Live Preview: Implemented "Apply changes from Qml File" button
The button is checkable and pressing it will stop/propagate changes to
the qml application being debugged.
2010-07-27 11:58:38 +02:00
Olivier Goffart
9a1d97707a Merge branch 'qmljsinspector'
Conflicts:
	src/plugins/qmlinspector/qmlinspectorplugin.cpp
	src/plugins/qmljseditor/qmljseditor.h
	src/plugins/qmljsinspector/QmlJSInspector.pluginspec
	src/tools/qml/qmlobserver/editor/resizehandleitem.h
2010-07-14 15:41:27 +02:00
Lasse Holmstedt
2f8dc2833b added mode buttons to custom qml viewer and qmljsinspector toolbar 2010-07-14 15:30:52 +02:00
Olivier Goffart
5d745a288f QMLJSInspector: remove more warnings and debugs 2010-07-09 14:36:56 +02:00
Lasse Holmstedt
7e67880ef7 connected reloading signals 2010-07-08 12:30:08 +02:00
Lasse Holmstedt
9a81759101 manually applied changes from qmlinspector to qmljsinspector 2010-07-08 11:36:26 +02:00
Roberto Raggi
f31d299d51 Observe the QML/JS model manager. 2010-06-29 16:15:49 +02:00
Roberto Raggi
18109b9cd1 Get the QmlJS::ModelManagerInterface instance. 2010-06-29 15:52:40 +02:00
Roberto Raggi
6f4cc3541d Start the inspector. 2010-06-29 14:24:12 +02:00
Roberto Raggi
914a046ed8 Reenabled more code. 2010-06-29 12:46:55 +02:00
Roberto Raggi
3f692a6ba3 Added QmlJS::Internal::Inspector. 2010-06-29 12:41:26 +02:00
Roberto Raggi
72cfd329a6 Start the application using the QML inspector. 2010-06-29 12:31:36 +02:00
Roberto Raggi
a88a635e3d Let's start from scratch with a new debugger for QmlJS. 2010-06-28 17:46:42 +02:00