Friedemann Kleint
09380afe90
Get attaching to a crashed Windows process right (CDB).
...
Handle the 2nd parameter correctly as a event id
to be used for a handshake. Introduce a special mode
when attaching to crashed processes.
Code cleanup, pass StartParameters along to startDebugger.
2009-05-26 16:27:24 +02:00
hjk
5ff00c84ae
debugger: basic support for reverse debugging
...
works only with gbd 7.0 so far.
2009-05-25 17:23:19 +02:00
Friedemann Kleint
c4a0abcda7
Enabled passing on PIDs from the command line to the debugger.
...
Introduced struct DebuggerStartParameters to pass around
start parameters, removing the need for the engines to
access private members of DebuggerManager. Pass it
to DebuggerManager::startNewDebugger() and move
the GUI parts of that function into DebuggerPlugin,
making it possible to create the struct from command line
parameters. Introduce command line parsing with a few more
-enable-xx options. Introduce warning() to debugger panel
in the CDB engine.
On this occasion, clean out a few trailing whitespaces.
2009-05-25 16:22:11 +02:00
con
8951302ab2
Fix floating dock widget support in debug mode.
...
The dock widget visibility was not saved/restored correctly, and pulling
floating dock widgets back into the layout didn't remove the header
widget in case of locked mode.
Now we track visibility and floating state of dock widgets directly.
2009-05-25 15:27:56 +02:00
Friedemann Kleint
3f19a0504e
Improved CDB settings dialog, adapted autodetection to 64bit.
...
Use correct path, display download link and notify that
settings take effect at next restart.
Acked-by: Daniel Molkentin <daniel.molkentin@nokia.com >
2009-05-20 11:48:31 +02:00
hjk
cce1c7f78e
debugger: rename 'win' subdir to 'shared'
2009-05-19 15:45:58 +02:00
hjk
fe7e88a6b5
debugger: rename resource path for generic images from 'gdbdebugger' to 'debugger'
2009-05-19 15:35:47 +02:00
con
564f7b9eb5
Make floating gdb views possible. Hiding when mode is switched.
2009-05-15 16:55:35 +02:00
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