Commit Graph

99 Commits

Author SHA1 Message Date
con
a74f494974 Add a menu item for the Locals and Watchers panel.
Reviewed-by: hjk <qtc-committer@nokia.com>
2009-05-15 14:48:03 +02:00
Friedemann Kleint
0e3aa47fcd Added ToolTip support for CDB.
Make debugger tooltip API more general, have the engines check the
correct file type, figure out the expression and context from the text
editor.

Put common functionality in watchutils.cpp. In the CDB engine, check
whether a tooltip expression is a known variable within the stack frame
context. If so, retrieve via symbol group or dumpers. Cache by function
and expression.
Reviewed-by: hjk <qtc-committer@nokia.com>
2009-05-14 14:29:37 +02:00
hjk
530f1bbb33 debugger: remove unneeded code 2009-05-11 11:33:20 +02:00
hjk
3d9a53cff2 debugger: replace a few '#ifdef LINUX' by '#if defined(UNIX) && !defined(MAC) 2009-05-11 10:22:03 +02:00
hjk
b4787c0a15 debugger: remove enum DebuggerType, the engine pointer is enough. 2009-05-07 17:25:32 +02:00
hjk
2fce747a6d debugger: start work "Target Communication Framework" "frontend" 2009-05-07 16:51:02 +02:00
Friedemann Kleint
14e39ba5af Fixed translation issues. 2009-05-07 15:34:52 +02:00
hjk
5bcc81a61e debugger: introduce an explicit detach action 2009-05-07 15:20:44 +02:00
hjk
5ff737b0df debugger: make gdb macro based debugging helpers (QString and QStringList)
also available for remote debugging.
2009-05-07 11:34:01 +02:00
hjk
f87df9e72e debugger: handle error when remote server does not respond 2009-05-07 09:35:11 +02:00
hjk
3d84da2b4d debugger: initial work to start a remote gdbserver 2009-05-06 16:12:22 +02:00
hjk
9ae53e49ca debugger: rename 'AttachRemote' to 'StartRemote' 2009-05-06 13:27:11 +02:00
hjk
67d327c7cc debugger: make stack reload engine-agnostic 2009-05-06 10:21:50 +02:00
hjk
4381b9d244 debugger: introduce a "NoEngine" option 2009-05-06 10:13:36 +02:00
hjk
b373242aca debugger: use current run configuration to read symbols for gdbserver 2009-05-05 17:50:35 +02:00
hjk
307470b21f debugger: make striped background of debug views optional 2009-05-05 10:15:09 +02:00
hjk
b2598d0030 debugger: initial work on remote debugging 2009-05-04 14:48:06 +02:00
hjk
d37a2d3aad debugger: introduce enabling/disabling of breakpoints 2009-04-28 15:09:23 +02:00
Friedemann Kleint
3695ee3646 Start on dumper support for CDB, bug fixes.
Make command execution output shown, use Wide version
of Debug Callbacks and output, provide bases classes
for other output and event handlers, move common
dumper functionality into debugger manager.
2009-04-20 16:40:50 +02:00
Friedemann Kleint
7d41e04884 Split apart debugger options pages, allow specifying a path to CDB.
Modify engine creation funcs to populate a list of option pages
to be able to handle engine enabling independently of the
actual engine creation.
2009-04-17 09:03:32 +02:00
Friedemann Kleint
2cc8959114 Introduce option -enable-cdb to enable CDB.
Reviewed-by: hjk <qtc-committer@nokia.com>
2009-04-15 16:38:32 +02:00
Friedemann Kleint
4c2f5d1eaf Make the "Show symbols" option of the module window work on Windows.
Introduce API to debug engines and debugger manager to do this.
Reviewed-by: hjk <qtc-commiter@nokia.com>
2009-04-15 12:01:58 +02:00
Friedemann Kleint
d4ccc16f9f Implement disassembler for cdb.
Filter debugging output correctly, some glitches. Extract
base class for debugging output to be able to intercept
debugging output for other purposes (such as disassembling).
2009-04-14 15:04:19 +02:00
hjk
8d41168672 debugger: make assignment in watch window look nicer, also make it work in
script debugger
2009-04-07 14:15:02 +02:00
hjk
de8922839b debugger: work on test suite 2009-04-07 10:41:01 +02:00
hjk
a7e677421d debugger: work on autotests
Qt creator starts up now, no debugging yet.
2009-04-07 10:41:01 +02:00
hjk
9318459b47 debugger: allow short stack to be expanded by a context menu item or
double click on the "<...>" line
2009-04-07 10:41:01 +02:00
hjk
898179f8fe debugger: work on auto test 2009-04-06 16:30:27 +02:00
hjk
7f3ac4614b debugger: use a new action for "executing a line" 2009-04-03 15:47:11 +02:00
hjk
47995286b5 debugger: show non-ASCII in QString, too 2009-04-02 10:58:52 +02:00
hjk
4d3c555a78 take the sessionUnloaded stuff out again as it makes Creator crash on
startup
2009-04-02 09:40:38 +02:00
hjk
c1e0a788ff debugger: don't dead-lock when switching sessions while debugging 2009-04-01 16:50:21 +02:00
Friedemann Kleint
ad5a001058 Factor out common debugger watch functionality
Factor out watch function, improve debug output.
2009-03-25 13:42:47 +01:00
hjk
504b81997d debugger: use new actions for watchers window/manager communication 2009-03-25 12:31:02 +01:00
hjk
c110da750b debugger: make QAction a base class of DebuggerAction 2009-03-19 15:54:52 +01:00
hjk
5999c35d2c debugger: some action related cleanup 2009-03-19 15:44:26 +01:00
hjk
45e7ccc0fa debugger: make assignment of simple types work again 2009-03-19 15:33:38 +01:00
hjk
00be68701e allow in-line editing of watcher expressions 2009-03-19 15:33:37 +01:00
hjk
66674d3ae9 debugger: more actions reshuffling 2009-03-19 10:54:27 +01:00
hjk
0b58f1f527 debugger: reorganizing settings and actions in progress 2009-03-19 09:32:47 +01:00
hjk
da1492cf28 debugger: start action handling refactoring 2009-03-18 09:03:47 +01:00
hjk
cc89dcc75b debugger: make "Use Dumpers" a pool action 2009-03-17 17:06:39 +01:00
hjk
fff7187f51 debugger: allow state transition from DebuggerInferiorRunning to
DebuggerInferiorStopped without going through DebuggerInferiorStopRequested
2009-03-17 14:57:43 +01:00
hjk
ff3fe49a14 debgugger: remove dead code 2009-03-16 14:22:13 +01:00
hjk
f73a4d5fd8 Fixes: debugger: try accessing compiled-in dumpers when attaching to an
external application
2009-03-16 13:16:17 +01:00
hjk
53f47f8267 Fixes: debugger: simple view on 'nm'
Details:  needs more work
2009-03-12 14:18:07 +01:00
hjk
6594529f3b Fixes: debugger: easy access to source files and modules from the
context menu
2009-03-10 19:35:17 +01:00
hjk
c37e4426ed Fixes: debugger: write current settings to log file 2009-03-10 18:38:14 +01:00
hjk
341de778ef Fixes: debugger: make loading list of source files optional 2009-03-10 17:30:11 +01:00
hjk
5d38fc44ae Fixes: debugger: surround the function name "main" in the menu with double quotes
Details:  more consistent with the File menu
2009-03-05 12:44:59 +01:00