Commit Graph

36 Commits

Author SHA1 Message Date
Lasse Holmstedt
0a85b90d98 Debugger UI: Don't check "C++" language if active project is .qmlproject 2010-08-25 09:46:00 +02:00
Lasse Holmstedt
adab5f0e07 Debugger UI: create initial settings for mainwindow 2010-08-25 09:39:33 +02:00
Lasse Holmstedt
7afef49682 Qml Debugger: Code style and cleanup
Reviewed-by: hjk
2010-08-24 17:47:20 +02:00
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
hjk
5023e8442f debugger: show all dockwidgets in the views menu, even if disabled. 2010-08-11 10:52:29 +02:00
Friedemann Kleint
7e739985b2 Merge remote branch 'origin/2.0'
Conflicts:
	src/plugins/debugger/debuggeruiswitcher.cpp
	src/plugins/git/gitclient.cpp
	src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.cpp
2010-08-06 10:46:50 +02:00
Lasse Holmstedt
308b462973 QML Inspector: Disable debug actions when qml inspector is disabled
Reviewed-by: Thomas Hartmann
2010-07-29 16:58:12 +02:00
hjk
d721e55a12 debugger: remove unneeded code from ui switcher 2010-07-22 12:02:35 +02:00
con
82cc4b4302 Fix consistency issue with splitter in debug mode.
Task-number: QTCREATORBUG-598
2010-06-30 13:43:53 +02:00
hjk
f56dacc76f Core::Context: remove special handling of C_GLOBAL_ID/C_GLOBAL 2010-06-28 14:30:03 +02:00
hjk
2f5f358ff4 Core::Context: compile hot fix for Windows. 2010-06-25 17:38:25 +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
con
ca14299790 Rename IPlugin::shutdown --> IPlugin::aboutToShutdown
Discussed-with: hjk
2010-04-28 17:32:01 +02:00
Jens Bache-Wiig
e7eeaf7204 Use south tabs in the debugger
The current northpointing dockwidget layout looks
broken since we repeat the label when the docks are
unlocked. We also dont line up properly with the header sections.
Other dock widgets in designer are also using the south tab so
this would be more consistent.

Reviewed-by: danimo
2010-04-26 19:58:05 +02:00
Friedemann Kleint
3d6560a10b Move the Debugger/Designer view menus to Window menu.
Move actions into FancyMainWindow. Register them in
DebuggerUISwitcher and FormEditorW. Manually hide
Debugger actions for Non-Debug modes (as they belong
to the language context).
Acked-by: con
2010-04-20 16:46:35 +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
23f141efb0 Fixed warning messages on close if user does not have QtCreator.ini
Task-number: QTCREATOR-202
Reviewed-by: hjk
2010-04-08 11:41:15 +02:00
hjk
f773f4295d debugger: some gui & code cosmetics 2010-04-06 17:58:46 +02:00
Friedemann Kleint
f90eacd8b5 Debugger[CDB]: Handle debugger warnings correctly.
Prevent window from popping up repeatedly on warnings.
Task-number: QTCREATORBUG-1061
2010-04-06 12:25:11 +02:00
Lasse Holmstedt
62d1d6bf73 Fixed crash with debugger when qml inspector is not enabled as plugin 2010-03-26 16:43:39 +01:00
con
6bd7a5a17d Fixes: Tooltips for hover help didn't show up anymore.
Reviewed-by: Thorbjørn
2010-03-23 18:24:59 +01:00
Thorbjørn Lindeijer
510971d216 Introduced a single convenient function for updating additional contexts
While before you had to call add, then remove for each context id and
then call update, now you call updateAdditionalContexts with a list of
contexts to remove and add. It has the update step built in.

Reviewed-by: con
2010-03-23 15:35:22 +01:00
Thorbjørn Lindeijer
8dbc9fbea4 Added some missing license headers 2010-03-23 09:18:32 +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
4e578d955a setting menu item visiblity in debuggeruiswitcher 2010-03-18 17:10:18 +01:00
Lasse Holmstedt
f9a9dd7dbf fixed merge issues and cleaned up code 2010-03-18 17:05:51 +01:00
Lasse Holmstedt
492fffb4cc Added automatic language switching option to debugger settings
Additionally, hiding of debugger menu entries was done as most of
them are irrelevant for QML debugging.
2010-03-18 17:05:22 +01:00
Lasse Holmstedt
b14a208273 Made debugger menu items disabled in QML inspector mode 2010-03-18 17:02:26 +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
dt
b6fda5be84 Progress so far 2010-03-17 16:27:49 +01:00
Lasse Holmstedt
2a35bb7949 Fixed init order 2010-02-26 17:00:15 +01:00
Lasse Holmstedt
3c179aacc8 Removed debugging output from debugger ui switcher 2010-02-26 16:56:08 +01:00
Lasse Holmstedt
4910086277 Moved debugger language selection from toolbar to menu 2010-02-26 16:39:12 +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