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
5da888e73b
debugger: don't even attempt to load the python dumpers on Mac.
2010-09-23 15:41:20 +02:00
Friedemann Kleint
13c97d652e
Debugger: Fixes around watch editing.
...
assignValueInDebugger: Pass on WatchData as well, pass
on values as QVariant. Based on that, do more extensive
checks in CDB, preventing assignment of non-PODs.
Locals/Watch editing:
* Disable while running
* Edit pointer values as hex with validation.
CDB: Strip class types off reported pointer values and reformat
the values as short 0x-pointer values, introduce flag to
WatchData::source to do dumper expansion handling.
Windows: recognize int64 as int.
Register handler: Fix accessing uninitialized value.
2010-09-23 13:22:08 +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
bd2d160a95
debugger: suppress variable tooltips with outdated contents
2010-09-15 19:02:35 +02:00
Arvid Ephraim Picciani
0e8c3875ef
Debugger: test gdb threeadlist capability
...
Reviewed-by: hjk
2010-09-14 14:01:57 +02:00
Friedemann Kleint
83e60a1747
Debugger: Unexport GdbEngine, d-pointer for run control.
2010-09-14 08:34:07 +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
Friedemann Kleint
f7b19f8114
Debugger: Move DebuggerEngine/QmlEngine/QmlCppEngine into Debugger{}
...
namespace (from Debugger::Internal) as they are exported classes.
Introduce private classes to avoid exposing private JS debugger
headers.
2010-09-13 13:30:35 +02:00
hjk
7457083bab
debugger: only update variables that are operated on
2010-09-13 08:32:37 +02:00
hjk
4cbbe366af
debugger: make a 'type' a QByteArray, not a QString
...
Saves lots of conversion.
2010-09-01 17:36:09 +02:00
hjk
56fd90e5cc
debugger: fix spelling of synchronous
...
Finally.
2010-08-30 10:38:38 +02:00
hjk
c438c87281
debugger: cleanup gdb command queue when inferior setup failed
2010-08-11 10:03:11 +02:00
ck
5950aedf04
Debugger/GDB: Map remote to local source file names.
...
Necessary for debugging with a remote gdb (as opposed to gdbserver).
Reviewed-by: kh1
2010-08-09 15:28:39 +02:00
hjk
3ce543458c
debugger: start attempt to handle dwarf index data
2010-07-22 16:53:24 +02:00
hjk
9cbbeec6c1
debugger: move convienience function to DebuggerEngine base class
2010-07-21 14:28:29 +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
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
d6fc1193ed
debugger: more linear state handling in core adapter
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
Robert Loehning
3bf0789464
Compile fixes.
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
9e7a456457
debugger: refactor startup logic
2010-07-14 17:49:16 +02:00
hjk
f8d96f09a6
debugger: rename startDebugger() to startEngine()
2010-07-08 13:48:09 +02:00
hjk
405f340e2b
debugger: streamline communication between GdbEngine and the adapters
2010-07-08 12:41:53 +02:00
hjk
a59f45c576
debugger: try to improve tooltip handling
...
Still far from usable.
2010-07-07 17:32:50 +02:00
hjk
038d943f9a
debugger: fix shutdown by pressing "[x]" in the output pane
2010-07-02 12:40:36 +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
27b96e55c4
fix typo
2010-06-28 14:55:19 +02:00
hjk
e7d6b28ead
debugger: make creation of back traces as text work on Mac
2010-06-28 14:53:31 +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
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
9f7e9dc0ae
debugger: refactoring of output channeling
2010-06-14 18:22:09 +02:00
hjk
6ed9830971
debugger: move DebuggerRunControl *m_runControl into IDebuggerEngine.
...
Plan is to identify make identify an IDebuggerEngine incarnation with
a RunControl.
2010-06-14 17:24:13 +02:00
hjk
97edcb7977
debugger: start 'runcontrol-ification' of the debugger plugin.
...
This replaces most uses of DebuggerStartParameters by DebuggerRunControl
which is a simple RunControl with a DebuggerStartParameters member.
Plan is to move all global state to the run controls, and possibly
introduce specialized ones for core debugging etc.
2010-06-14 10:45:11 +02:00
hjk
098dd35134
debugger: check matching Qt versions of compiled dumpers and debuggee
2010-05-20 16:49:48 +02:00
hjk
c50dd85088
debugger: show return value of last function call in Locals and Watchers view
...
Works only with gdb/Python so far.
2010-05-19 12:00:56 +02:00
hjk
2f69bae63f
debugger: gather more information on threads when easily available
2010-05-18 12:13:27 +02:00
hjk
01aabbda82
debugger: rename some breakpoint related functions
2010-05-10 15:39:41 +02:00
hjk
6c0b947ec1
debugger: first shot a implementing data watchpoints
2010-05-07 15:17:11 +02:00
hjk
68c0ee28e2
debugger: remove some #ifdef Q_OS_*
2010-05-05 17:07:08 +02:00
ck
0b8d8aaa53
Debugger: Move GdbEngine member out of #ifdef.
...
The assumption "Creator arch == Gdb arch" does not necessarily hold.
Reviewed-by: hjk
2010-05-05 17:02:32 +02:00
ck
ef7c5fae60
Debugger: Support running GDB over SSH.
...
Reviewed-by: hjk
2010-05-05 12:51:21 +02:00
hjk
15a595b429
debugger: refactor module/symbol view
2010-05-04 18:00:10 +02:00