Commit Graph

489 Commits

Author SHA1 Message Date
hjk
ea4b64dee4 debugger: remove rarely needed "Recheck Debuggging Helper Availability"
context menu entry.

It was more a debugger debugging aid in the early days of compiled dumpers
anyway.

Reviewed-by: Friedemann Kleint
2010-09-28 13:15:42 +02:00
hjk
d1655163f0 debugger: fix enabled state of 'start external'
Reviewed-by: Friedemann Kleint
2010-09-27 18:00:21 +02:00
Friedemann Kleint
2dbc1818a6 Debugger: Move dialogs settings out of the global settings namespace.
Add legacy to retrieve old values.
2010-09-27 12:23:34 +02:00
hjk
5f020eebd0 debugger: somewhat more restrictive enabling of debugger related actions 2010-09-27 10:23:59 +02:00
Christiaan Janssen
492f4314ff QmlObserver: disabling script console when context not available/clear
Reviewed by: Kai Koehne
2010-09-24 16:56:03 +02:00
hjk
08db9ece51 debugger: trigger view clean up on DebuggerFinished, not DebuggerNotReady 2010-09-23 16:25:30 +02:00
hjk
034bb72dc4 debugger: make alphabetic sorting of struct members optional.
Task-number: QTCREATORBUG-1608
2010-09-23 11:17:01 +02:00
hjk
6295208a5c debugger: allow starting and continuing only in defined states 2010-09-23 11:17:01 +02:00
hjk
02283ea84d debugger: rename output window into log window 2010-09-22 16:22:57 +02:00
hjk
cf1ffdbc45 debugger: start implementing a debugger console 2010-09-22 16:02:15 +02:00
Kai Koehne
3e9f333769 QmlDebugger: Enable basic debugging without QmlInspector plugin
Enable setting breakpoints, and showing the script console even if
the QmlInspector plugin is not loaded.

Reviewed-by: hjk
2010-09-22 15:45:03 +02:00
Kai Koehne
4fdede8b28 QmlDebugger: Fix qDebug output 2010-09-22 15:45:03 +02:00
hjk
baf10fc868 debugger: fix (non-)leak
Task-number: QTCREATORBUG-2337
2010-09-14 18:15:00 +02:00
hjk
32cd92bff9 debugger: fix some (non-)leak
Task-number: QTCREATORBUG-2334
2010-09-14 17:53:05 +02:00
dt
08ccda5862 EditorManager: Change openEditor/activateEditor to not do mode switching
Also introduce a indirection, modes have now types, edit and debug have
the same type, and editors do have a prefered type of modes instead of a
prefered mode.

That fixes the bug that if the prefered qml editing mode was set to
design, then in switching between qml editors would
- in Edit Mode: stay in edit mode
- in Debug Mode: switch to debug mode
2010-09-14 15:23:11 +02:00
Arvid Ephraim Picciani
98736d256b Display thread names
extract thread names from QThread object name

Task-Number: QTCREATORBUG-382
Reviewed-by: hjk
2010-09-13 13:42:14 +02:00
hjk
a63f4a5a81 debugger: remove duplicated code
Task-number: QTCREATORBUG-2322
2010-09-13 09:05:39 +02:00
hjk
3e152fc8aa debugger: add an "Memory View" item to the menu
Task-number: QTCREATORBUG-1600
2010-09-09 18:08:25 +02:00
hjk
6c7c84d1d5 debugger: cosmetics 2010-09-08 09:13:59 +02:00
Friedemann Kleint
763b59aa73 Debugger: Fix debugger switching to edit mode.
... on clicking stack frames or disassembler/
memory views.

Introduce flags to openEditorAt, pass
EditorManager::NoModeSwitch where applicable.

Task-number: QTCREATORBUG-2278
2010-09-07 09:51:20 +02:00
hjk
0e2a7608f2 debugger: fix remote adapter startup 2010-09-06 11:36:33 +02:00
hjk
ecec9ba6a1 debugger: code cosmetics 2010-09-01 10:15:21 +02:00
hjk
a0d689c50e debugger: code cosmetics 2010-09-01 10:14:05 +02:00
Olivier Goffart
c685c87fd1 QmlDebugger: small polish the UI
Reorder the tab widgets so the inspector show up by default
when debugging QML
2010-08-31 15:39:41 +02:00
Friedemann Kleint
439917e768 Debugger: Add a stage graph usable for GraphViz.
Rubber-stamped-by: hjk
2010-08-31 12:49:51 +02:00
Lasse Holmstedt
afdd933ff3 Debugger UI: Don't switch layout while debugging
Reviewed-by: hjk
2010-08-27 16:24:36 +02:00
hjk
dedba8c87d debugger: deactivate debug mode if the last engine exits
Task-number: QTCREATORBUG-2201
2010-08-27 15:38:51 +02:00
Olivier Goffart
fc1be8b488 Qml Javascript Debugger: add a script console widget.
The scriptconsole layout come from the old qmlinspector
2010-08-26 17:49:10 +02:00
Lasse Holmstedt
7afef49682 Qml Debugger: Code style and cleanup
Reviewed-by: hjk
2010-08-24 17:47:20 +02:00
Lasse Holmstedt
67365553f7 Debugger: Remove "Change language automatically" 2010-08-24 17:46:22 +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
Friedemann Kleint
ad9ff8ed74 Debugger: Fix exit crash.
Make sure DebuggerRunner::finished() is always connected to
handleFinished() (even for subclassed DebuggerRunners). Add
some more debugging information.
2010-08-24 16:22:21 +02:00
Friedemann Kleint
54f9654bd3 Debugger: Fix Symbian.
...which subclasses DebuggerRunner and does not call
DebuggerPlugin::startDebugger(), which connects the
engine, leading to strange malfunctions. Move functionality
to DebuggerRunner::start() to make it self-contained.
Add object names to engines for easier debugging.

Reviewed-by: hjk
2010-08-24 15:35:46 +02:00
Friedemann Kleint
6840c1d198 Debugger: Refactor run control termination.
Fix breakage introduced by the new asynchronous stop() methods
of the debugger run controls. Allow for RunControl::stop() to
be asynchronous by introducing a return enumeration indicating
that. Introduce additional method aboutToStop() asking user
to quit (tie that to the RunControl instead of having to hack
the behaviour elsewhere).
If asynchronous stop is detected, terminate the ProjectExplorer
asynchronously.
This makes the behaviour consistent across switching sessions/
closing outputwindow tabs and quitting Qt Creator.

Reviewed-by: dt
Rubber-stamped-by: hjk
2010-08-20 14:19:25 +02:00
hjk
3fcceedd35 debugger: fix context updates
done by Lasse
2010-08-18 15:25:49 +02:00
Friedemann Kleint
83f3119c97 Debugger: Improve exit handling. 2010-08-18 11:08:50 +02:00
hjk
5023e8442f debugger: show all dockwidgets in the views menu, even if disabled. 2010-08-11 10:52:29 +02:00
hjk
64f26f2cc1 debugger: remove unused DebuggerPlugin::stateChanged(int) signal 2010-08-11 09:12:23 +02:00
Alessandro Portale
3aa3c5688f Pedantic cleanup of filename parameters for QIcon constructor
Using more *::Constants::ICON_* where it makes sense and
wrapping the file names into QLatin1String where they were
missing.

The increased usage of the ICON constants needed a few more
cross plugin includes of *constants.h, here and there.
I think that it is OK, since the dependencies were alredy there
icon resource wise.
2010-07-30 22:17:14 +02:00
hjk
d43bc73d03 debugger: fix state of stop action in state DebuggerFinished 2010-07-22 17:25:00 +02:00
hjk
45f15f0eed debugger: handle switching to "no project" gracefully. 2010-07-22 16:53:24 +02:00
hjk
e0a4aab9bd debugger: after changing to a project without active debugger it should not be
"continuable"
2010-07-22 15:38:32 +02:00
hjk
aae95a24a2 debugger: improve launch progress display 2010-07-22 12:02:35 +02:00
hjk
cb8e2ff484 debugger: make the "interrupt" action visible in the fat bar on the left
Reviewed-by: con
2010-07-22 10:59:23 +02:00
hjk
2449597786 debugger: some renamings of contexts and actions 2010-07-22 10:59:23 +02:00
hjk
96561a38c7 debugger: enable debugging of multiple projects at the same time 2010-07-22 10:59:22 +02:00
hjk
990dba7551 cosmetics 2010-07-22 10:59:22 +02:00
hjk
b31a29b18d debugger: remove unused DebuggerPlugin::exitDebugger(); 2010-07-21 14:28:29 +02:00
hjk
df107ca905 debugger: remove unneeded DebuggerPlugin::state() fucntion 2010-07-21 14:28:29 +02:00
hjk
fc35cd03a7 debugger: cosmetics 2010-07-21 14:28:28 +02:00