Commit Graph

527 Commits

Author SHA1 Message Date
hjk
aae95a24a2 debugger: improve launch progress display 2010-07-22 12:02:35 +02:00
hjk
9cbbeec6c1 debugger: move convienience function to DebuggerEngine base class 2010-07-21 14:28:29 +02:00
hjk
3ec1fee05d debugger: fix dumper preloading 2010-07-21 13:44:49 +02:00
hjk
dfd44a0ceb debugger: fix display of correct thread in the thread combobox 2010-07-21 13:11:35 +02:00
hjk
23f6641f8e debugger: re-add registration of WatchData type 2010-07-21 11:05:40 +02:00
hjk
56aff185a6 debugger: move progress handling to debugger engine base class 2010-07-21 11:03:19 +02:00
hjk
d9e445bbe8 debugger: re-enable snapshot creation using the menu action 2010-07-21 09:42:33 +02:00
hjk
af57dc4170 debugger: re-enable setting breakpoints while inferior is running 2010-07-20 14:02:58 +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
ck
db99f82863 Debugger/gdb: Adapt pid parsing.
Written-by: hjk
2010-07-15 17:01:31 +02:00
hjk
475bc51392 debugger: there are several states that do not accept commands 2010-07-15 14:54:43 +02:00
hjk
c336ddaedf debugger: remove old state logic from the gdb engine 2010-07-15 14:54:43 +02:00
hjk
d6fc1193ed debugger: more linear state handling in core adapter 2010-07-15 14:54:43 +02:00
hjk
9f8b5af3b2 debugger: make parsing of cli-style commands in python more robust 2010-07-15 14:54:43 +02:00
hjk
99fdaf06a2 debuygger: make snapshots using true parallel engines 2010-07-14 17:49:17 +02:00
hjk
887e21da56 debugger: more state work 2010-07-14 17:49:17 +02:00
hjk
3eef8a43c0 debugger: more state work 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
hjk
85243e19a9 debugger: encapsulate part of the startup logic in the base class 2010-07-14 17:49:15 +02:00
hjk
f8d96f09a6 debugger: rename startDebugger() to startEngine() 2010-07-08 13:48:09 +02:00
hjk
eab55aac6b debugger: move state change to EngineStarting into the base class 2010-07-08 13:28:51 +02:00
hjk
405f340e2b debugger: streamline communication between GdbEngine and the adapters 2010-07-08 12:41:53 +02:00
hjk
2385e15b2d debugger: merge 'AdapterStarting' into 'EngineStarting' state 2010-07-08 12:41:53 +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
a59f45c576 debugger: try to improve tooltip handling
Still far from usable.
2010-07-07 17:32:50 +02:00
Friedemann Kleint
ab6f124e57 Debugger: Make threads tooltip more verbose
CDB: Add more information and state to Thread.
Refactor thread information in CdbCore classes to prepare for more
information.
2010-07-02 14:35:41 +02:00
hjk
038d943f9a debugger: fix shutdown by pressing "[x]" in the output pane 2010-07-02 12:40:36 +02:00
Friedemann Kleint
23b4c3fea4 Debugger: Show current thread correctly in reply to thread-info.
Reviewed-by: hjk
2010-07-02 10:58:47 +02:00
Friedemann Kleint
52b33a7503 Debugger[Trk]: Prepare thread handling.
Store threads and cache registers per thread in Snapshot.
As Trk does not generate Thread creation/deletion events.
try to add threads on the fly if a stop in a new thread id is reported.
Remove them in continue. Continue all threads in classic Trk.
Pass on state (crash reason) to ThreadData and model.
Factor out common code of both adapters to Snapshot/Symbian classes.
2010-06-30 17:14:57 +02:00
hjk
6959a12211 debugger: fix 'run to line' with older versions of gdb 2010-06-30 14:40:04 +02:00
hjk
ebba27484c debugger: fix 'jump to line' with older versions of gdb 2010-06-30 14:40:04 +02:00
hjk
effc5abdd8 debugger: don't try to compute tooltip if it's not shown 2010-06-29 10:58:29 +02:00
hjk
e7d6b28ead debugger: make creation of back traces as text work on Mac 2010-06-28 14:53:31 +02:00
hjk
200b18d44a debugger: don't load registers if view is not shown 2010-06-28 10:30:18 +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
6493b4853d debugger: adjust loading/saving of watched expressions to recent changes 2010-06-25 10:21:39 +02:00
hjk
eb75f40a98 debugger: allow per item selection of display method in Locals&Watchers 2010-06-25 09:16:55 +02:00
Friedemann Kleint
146a6df7c0 Debugger: Breakpoint turn into watchpoints while Trk-Debugging.
Check for "breakpoint", "hw breakpoint" types.
Acked-by: hjk
2010-06-24 09:15:28 +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
fadac8009c debugger: more breakpoint management related fixes 2010-06-22 15:37:27 +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
a4f412388d debugger: move m_inferiorPid from DebuggerManager to DebuggerRunControl 2010-06-15 12:51:18 +02:00
hjk
25c11c4ce0 debugger: move SnapshotHandler from DebuggerManager to DebuggerRunControl 2010-06-15 12:48:30 +02:00
hjk
ff7c543a73 debugger: move RegisterHandler from DebuggerManager to DebuggerRunControl 2010-06-15 11:43:20 +02:00
hjk
12fd2a6091 debugger: move showModuleSymbols from DebuggerManager to DebuggerEngine 2010-06-15 11:43:20 +02:00
hjk
69a4ed3255 debugger: move ModulesHandler from DebuggerManager to DebuggerRunControl 2010-06-15 11:43:20 +02:00
hjk
9f7e9dc0ae debugger: refactoring of output channeling 2010-06-14 18:22:09 +02:00
hjk
b3aff6b919 debugger: more of the RunControl refactoring
Pass output through the RunControl instead of the DebuggerManager.
2010-06-14 17:24:13 +02:00