Oswald Buddenhagen
d2a8449bea
ifdef Q_?S_* cleanup
...
- clear up some Q_OS_LINUX vs. Q_OS_UNIX
- clear up Q_WS_* vs. Q_OS_* (relatively theoretical exercise)
- use proper #if-#else cascades instead of free-standing #ifs
2009-06-03 20:54:59 +02:00
dt
63a0225ea9
Fix some insignificant memory leaks.
...
Reviewed-By: hjk
2009-06-03 13:53:45 +02:00
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
kh
9943ec7d0f
Fix crash on shutdown.
...
The onModeChanged gets always called, even after shutdown where we
already had deleted the DebuggerManager. Don't access the 0 pointer.
2009-05-25 18:21:31 +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
hjk
fe7e88a6b5
debugger: rename resource path for generic images from 'gdbdebugger' to 'debugger'
2009-05-19 15:35:47 +02:00
hjk
f63f18b840
debugger: put gdb related stuff into directory of its own
2009-05-19 15:23:12 +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
3d9a53cff2
debugger: replace a few '#ifdef LINUX' by '#if defined(UNIX) && !defined(MAC)
2009-05-11 10:22:03 +02:00
hjk
cc3f796113
debugger: work on tcf engine. first successful ping pong.
2009-05-08 15:38:34 +02:00
hjk
f70ce8dc36
debugger: add a menu entry for the (defunct) TCF attaching
2009-05-07 17:11:19 +02:00
hjk
2fce747a6d
debugger: start work "Target Communication Framework" "frontend"
2009-05-07 16:51:02 +02:00
hjk
5bcc81a61e
debugger: introduce an explicit detach action
2009-05-07 15:20:44 +02:00
hjk
9ae53e49ca
debugger: rename 'AttachRemote' to 'StartRemote'
2009-05-06 13:27:11 +02:00
hjk
457addbf40
debugger: imporev grey-out logic on the dumper settings page
2009-05-06 09:45:31 +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
2a1c503bc3
Fix debugger settings action.
2009-04-17 11:31:52 +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
Thorbjørn Lindeijer
bc89f5dc4f
Merge branch '1.1'
...
Conflicts:
src/plugins/debugger/debuggeractions.cpp
Reviewed-by: hjk
2009-04-16 11:32:05 +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
Oswald Buddenhagen
894ee04ee0
make terminal emulator configurable centrally
...
this includes changing the runInTerminal.command command line.
the terminal setting mock from the debugger plugin is gone again.
2009-04-14 11:41:23 +02:00
Friedemann Kleint
6d4d19dfa8
Handle various CDB output windows.
...
Add modules, threads and register view. Refactor register format code.
2009-04-09 16:51:13 +02:00
hjk
3e38a0598b
debugger: make user visible strings translatable
2009-04-08 16:05:49 +02:00
hjk
bb3e6b720c
debugger: rename data dumpers into "debugging helpers"
2009-04-07 16:39:47 +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
7d48b523d5
fakevim: work on auto tests
2009-04-06 14:08:01 +02:00
hjk
bcd279a198
debugger: make maximal number of stack entries configurable
2009-04-02 16:26:33 +02:00
hjk
c1e0a788ff
debugger: don't dead-lock when switching sessions while debugging
2009-04-01 16:50:21 +02:00
hjk
c826e6dcfe
fakevim: re-organize settings handling
2009-03-30 15:39:13 +02:00
hjk
3de773a551
debugger: rework dumper settings page
2009-03-27 17:21:25 +01:00
hjk
a2c68a538d
debugger: remove reference to dumper build step from debugger UI
2009-03-27 17:21:25 +01:00
hjk
8ba891bb0c
debugger: progress on action generalization
...
mostly renamings
2009-03-26 17:28:14 +01:00
hjk
f54440b4a5
debugger: work on generalizing the new debugger actions
2009-03-26 17:28:14 +01:00
hjk
6c15d33cdc
debugger: use dumpers build alongside Qt
2009-03-26 12:36:04 +01:00
hjk
f48ff339ae
debugger: code cosmetics
2009-03-24 16:39:30 +01:00
hjk
380cb40f27
debugger: work on optional prebuild dumper library
2009-03-23 14:34:01 +01:00
hjk
1c110388ec
debugger: work on using prebuilt dumpers
2009-03-23 13:02:50 +01:00
hjk
f8f5263b38
debugger: split options page
2009-03-23 12:28:26 +01:00
hjk
79d6c96d4e
debugger: make an option to select terminal application (not used yet)
2009-03-20 09:53: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