Commit Graph

32 Commits

Author SHA1 Message Date
hjk
e2159536b0 debugger: incorporate ogoffart's first shot at qml debugging 2010-06-25 14:09:35 +02:00
hjk
c7e8b51d37 core: use a class derived from QList<int> instead of a QList<int> for Core::Context
A mostly mechanical change.

Reviewed-By: con
2010-06-25 12:58:07 +02:00
hjk
6a6cba5518 debugger: The DebuggerEngine refactoring.
This replaces the (de facto) singleton engines and data handlers by classes
that are instantiated per run. The DebuggerRunControl will now create an
object of (a class derived from) DebuggerEngine that contains all the relevant
"dynamic" data.

DebuggerManager is no more. The "singleton" bits are merged into DebuggerPlugin,
whereas the data bits went to DebuggerEngine.

There is no formal notion of a "current" DebuggerEngine. However, as there's
only one DebuggerEngine at a time that has its data models connected to the
view, there's still some "de facto" notion of a "current" engine. Calling
SomeModel::setData(int role, QVariant data) with custom role is used as the
primary dispatch mechanism from the views to the "current" data models
(and the engine, as all data models know their engine).
2010-06-22 10:59:57 +02:00
hjk
97edcb7977 debugger: start 'runcontrol-ification' of the debugger plugin.
This replaces most uses of DebuggerStartParameters by DebuggerRunControl
which is a simple RunControl with a DebuggerStartParameters member.

Plan is to move all global state to the run controls, and possibly
introduce specialized ones for core debugging etc.
2010-06-14 10:45:11 +02:00
Lasse Holmstedt
43b9d1aad1 Fixed strings in qmlinspector and shutdown() issues 2010-04-29 09:09:35 +02:00
Lasse Holmstedt
d6636e4180 Debugger mode for simultaneous QML and C++ debugging (with plugins)
If you have plugins that extend qml, you probably want to debug them
too. This is now possible with the "Start debugging QML and C++
Simultaneously" debug menu entry. Just select a QML project which uses
c++ plugins and start debugging in this mode.
2010-04-23 09:58:28 +02:00
Lasse Holmstedt
473a8e5d28 Categories and saving of settings in qml inspector 2010-04-21 10:32:26 +02:00
Lasse Holmstedt
9c2eb9fe2e QmlInspector: Modifiable properties from inspector property table 2010-04-21 10:32:26 +02:00
Lasse Holmstedt
9b060071d9 UI improvements and functionality fixes to qml inspector
now you can modify expression values after you set a watch on them.
doesn't seem to work yet for all cases, but there must be some issues
within the qml debug server holding things back.
2010-04-16 15:56:24 +02:00
Lasse Holmstedt
ae8a8a5c84 UI fixes to QML inspector 2010-04-16 10:22:50 +02:00
Lasse Holmstedt
5921289580 Disabled frame rate dock widget for QML inspector entirely 2010-04-16 10:22:50 +02:00
Lasse Holmstedt
990ec1be91 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
2010-04-15 15:08:32 +02:00
Lasse Holmstedt
af3f10dfdd Fixed auto-switching issues with QML inspector and c++ debugger
Reviewed-by: hjk
2010-04-13 15:16:03 +02:00
con
5892049d65 Remove the unused complete this shortcut registered by the qml inspector.
It was conflicting with the normal completion shortcut, and it shouldn't
register a new command anyhow.

Reviewed-by: Lasse Holmstedt
2010-04-08 15:22:40 +02:00
Friedemann Kleint
8d384fc6ad Fix QSettings keys of FancyMainWindow in QtCreator.ini.
Do not use localized Window Titles. Use objectName
or default to dockWidget<n>".

Task-number: QTCREATORBUG-1059
2010-04-06 11:23:11 +02:00
Lasse Holmstedt
0b010954ad Help for qml inspector (with F1), namespace fixes 2010-03-22 11:43:54 +01:00
Lasse Holmstedt
d5bdad2269 context-based hiding/showing of debug menu entries
the previous implementation relied on poking around with setVisible
of the menu actions. Now, command attribute CA_Hide is used instead for
the necessary entries.

Reviewed-by: hjk
2010-03-19 13:59:57 +01:00
Lasse Holmstedt
8c83a9d088 Added tooltips to qml inspector 2010-03-19 13:59:57 +01:00
Lasse Holmstedt
ce57387f89 Fixed jumping to edit/design mode when debugging qml files 2010-03-19 13:59:57 +01:00
hjk
edaed0b943 cosmetics 2010-03-18 16:48:16 +01:00
hjk
a793f7c44e qmlinspector: compile fix with namespaces 2010-03-18 16:48:15 +01:00
Lasse Holmstedt
ff30737318 UI fixes to qml inspector 2010-03-18 14:48:31 +01:00
Lasse Holmstedt
cf5bd6de4e Made qml inspector look nicer and clear its contents upon close 2010-03-18 14:48:30 +01:00
Friedemann Kleint
bbcacaf59f Header cleaning spree in Core/Debugger and Symbian/Maemo-code of Qt4. 2010-03-18 10:59:06 +01:00
Lasse Holmstedt
90abf1bf2d Highlighting and more sensible watchers to qml inspector 2010-03-17 11:38:09 +01:00
Kai Koehne
6c107ed303 QmlInspector: Remove private header includes 2010-03-12 17:00:36 +01:00
dt
51c0913a73 Fix crash 2010-03-10 18:29:22 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
Kai Koehne
4ee19843d7 QmlInspector: Fix compilation with latest changes of QDeclarative
All files have been renamed from Qml to QDeclarative
2010-02-26 14:42:11 +01:00
Lasse Holmstedt
f38ff9648e Moved Qml Inspector Output pane to a dock widget within the debugger. 2010-02-17 12:58:25 +01:00
Lasse Holmstedt
4e5089d90d Merge branch 'debugintegration'
Conflicts:
	src/plugins/qmlprojectmanager/qmlproject.cpp
	src/plugins/qmlprojectmanager/qmlproject.h
2010-02-16 16:30:41 +01:00
Lasse Holmstedt
580280af26 Changed QML Inspector from a separate global mode to a plugin.
The new QML Inspector depends on DebuggerPlugin. Also added a dropdown menu into
the debugger toolbar from which the user can select the used debugging
language, e.g. C++ or QML.
2010-02-16 15:13:09 +01:00