Commit Graph

433 Commits

Author SHA1 Message Date
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
hjk
9e7a456457 debugger: refactor startup logic 2010-07-14 17:49:16 +02:00
con
b3dbc4b4e4 Add flag to IPlugin::aboutToShutdown that allows asynchronous shutdown.
If a plugin requests asyncronous shutdown, the shutdown sequence does
not continue to deleting the plugins before it has sent a
asynchronousShutdownFinished signal. During that time an event loop
is running.
2010-07-13 15:25:21 +02:00
Friedemann Kleint
76e85abf2c Debugger: Fix some tr-errors. 2010-07-08 12:40:38 +02:00
hjk
cdf7dbeada debugger: start refactoring of state transitions
This updates the state diagram in debuggerplugin.cpp and
renames AdapterStart{Fail}ed to EngineStart{Fail}ed.
2010-07-08 11:45:51 +02:00
hjk
c40521b12c debugger: re-enable F9 for script debugging 2010-07-07 13:16:16 +02:00
hjk
1519efbeaf debugger: set sensible default values for debugger actions on startup 2010-07-05 17:08:55 +02:00
con
6503099bec Merge remote branch 'origin/2.0'
Conflicts:
	doc/qtcreator.qdoc
	src/plugins/bineditor/bineditorplugin.cpp
2010-07-05 13:54:07 +02:00
con
2c3dd30382 Establish Ctrl+D as prefix for debugger shortcuts
(that have no other standard)

Reviewed-by: dt
2010-07-02 12:10:18 +02:00
hjk
afb54077f5 debugger: fix some regressions in the log output after the engine refactoring 2010-06-30 14:40:04 +02:00
hjk
f538736cfc debugger: fix c&p error causing 'jump to line' to fail 2010-06-30 14:40:04 +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
200b18d44a debugger: don't load registers if view is not shown 2010-06-28 10:30:18 +02:00
hjk
2f5f358ff4 Core::Context: compile hot fix for Windows. 2010-06-25 17:38:25 +02:00
hjk
2bdf10ce10 debugger: reenable disabling of breakpoints in editor context menu 2010-06-25 17:38:25 +02:00
hjk
f3d38de913 debugger: fix breakpoint toggling of "moved" breakpoints 2010-06-25 17:38:25 +02:00
Friedemann Kleint
beba423a16 Debugger[Trk]: Added TCF experimental adapter.
Added adapter to work with TCF over WLAN.
Factor out common code for Symbian from TrkAdapter.
Improve message logging in TrkGdbAdapter, some cleanup.
Added new TcfTrkGdbAdapter based on TcfTrkDevice
in symbianutils based on JSON, using QTcpSocket.
To be started via special @tcf@ argument.
Rubber-stamped-by: hjk
2010-06-25 15:06:30 +02:00
hjk
03be40ddcd debugger: remove unused code 2010-06-25 14:38:44 +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
6493b4853d debugger: adjust loading/saving of watched expressions to recent changes 2010-06-25 10:21:39 +02:00
hjk
a25fd01a10 debugger: simplify handling of context menu actions of the Locals&Watchers view 2010-06-23 16:16:32 +02:00
hjk
ed2862acce debugger: remove special mechanism to update watcher and return window 2010-06-23 14:12:14 +02:00
hjk
5adb6559e2 debugger: attempt to fix symbian output connections 2010-06-23 12:40:56 +02:00
hjk
f6ac7aabee debugger: attempt to fix maemo output connections 2010-06-23 11:27:38 +02:00
hjk
e6590ff598 debugger: fix addToWatchWindow 2010-06-23 11:06:01 +02:00
hjk
ccd46ec4cf debugger: simplify debugger session data handling 2010-06-22 18:18:13 +02:00
hjk
4b14dc5be8 debugger: make DebuggerPlugin::showStatusMessage private 2010-06-22 17:46:44 +02:00
hjk
817dbabd79 debugger: work on action handling 2010-06-22 17:46:44 +02:00
hjk
c5c0dc76a0 debugger: restore session breakpoints if RunControl finishes 2010-06-22 15:14:44 +02:00
Friedemann Kleint
cda5f5d69b Debugger: Re-enable CDB 2010-06-22 14:23:22 +02:00
hjk
9a3acd48e4 debugger: re-connect 'executeDebuggerCommand' 2010-06-22 12:42:26 +02:00
Friedemann Kleint
ecff29be07 Compile Windows. 2010-06-22 12:28:05 +02:00
hjk
f1cd284a33 debugger: connect some loose ends 2010-06-22 12:04:56 +02:00
hjk
0f1290b0c0 debugger: link fix 2010-06-22 11:45:45 +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
Friedemann Kleint
effa8a38da Windows compilation fix / 97edcb7977 2010-06-14 11:21:31 +02:00