Commit Graph

369 Commits

Author SHA1 Message Date
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
hjk
dfd44a0ceb debugger: fix display of correct thread in the thread combobox 2010-07-21 13:11:35 +02:00
hjk
fbd25fe84e debugger: fix cursor busy state in output pane and in state DebuggerFinished. 2010-07-21 12:18:50 +02:00
hjk
d9e445bbe8 debugger: re-enable snapshot creation using the menu action 2010-07-21 09:42:33 +02:00
hjk
588d44c5c0 debugger: always enable attaching to external process 2010-07-21 09:36:16 +02:00
hjk
62060ce79c debugger: make requestMark() more robust for editors not representing files 2010-07-20 18:54:50 +02:00
hjk
8d54298c8e debugger: handle shutting down engines from SnapshotWindow <Del> or context menu 2010-07-20 18:54:50 +02:00
hjk
cc131beb61 debugger: move SnapshotHandler to DebuggerPluginPrivate 2010-07-20 18:54:50 +02:00
hjk
e952470bcd debugger: move coreAboutToClose() check to DebuggerPlugin 2010-07-20 16:03:21 +02:00
hjk
15629b037f debugger: fix message when trying to shut down with a finished debugger 2010-07-20 15:16:17 +02:00
ck
08bc6c0027 Maemo: Get rid of MaemoDebugRunControl.
Use Debugger::DebuggerRunControl directly instead of wrapping it
into another RunControl.

Reviewed-by: hjk
2010-07-15 17:01:31 +02:00
hjk
42f326af60 debugger: start moving to the async shutdown infrastructure 2010-07-15 14:54:43 +02:00
hjk
fc3b503644 debugger: make -debug binary@host:port[@arch] work on the commandline to
attach to a gdb server
2010-07-15 10:45:51 +02:00
hjk
6da6add886 debugger: update state diagramm 2010-07-15 10:45:51 +02:00
hjk
fa8cf20dc0 debugger: remove finished engines from snapshot list 2010-07-14 17:49:17 +02:00
hjk
4f4167a310 debugger: move BreakpointData into file of its own 2010-07-14 17:49:17 +02:00
hjk
99fdaf06a2 debuygger: make snapshots using true parallel engines 2010-07-14 17:49:17 +02:00
hjk
b221d93b78 debugger: disallow interuption during InferiorRunRequest and
InferiorStopReqeust
2010-07-14 17:49:16 +02:00
Robert Loehning
f88a010a41 debugger: state compile fix on Windows 2010-07-14 17:49:16 +02:00
hjk
e760700f0f debugger: overhaul "state machine"
This mainly allows for more precise shutdown and tightens the set
of allowed transitions.
2010-07-14 17:49:16 +02:00
hjk
6089bc1b9e debugger: rename EngineStart to EngineSetup 2010-07-14 17:49:16 +02:00