Commit Graph

18 Commits

Author SHA1 Message Date
Oswald Buddenhagen
86ca8f4e30 consolidate attemptBreakpointSynchronization()-related code paths
this removes some unnecessary conditions and parallelizes more

Reviewed-by: hjk
2009-06-16 10:33:27 +02:00
Oswald Buddenhagen
199dfbb485 fix gdb shutdown logic on gdb crash
Reviewed-by: hjk
2009-06-12 19:56:58 +02:00
Oswald Buddenhagen
aa898a5312 fix waitForFinished logic 2009-06-12 19:55:34 +02:00
hjk
47d766d91f debugger: kill the debugger if it is still running after it said it has died. 2009-06-12 14:28:13 +02:00
hjk
30e78c686b fakevim: fix . after A and D in command mode 2009-06-11 17:22:37 +02:00
hjk
db1c212307 debugger: really disable reverse debugging 2009-06-10 13:35:40 +02:00
Oswald Buddenhagen
d7c573054c re-apply enabled state to restored breakpoints 2009-06-10 10:57:00 +02:00
Oswald Buddenhagen
289d6f8596 nicer 2009-06-08 15:55:41 +02:00
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
hjk
d7af85a097 debugger: implement a dumper for QAbstractItemModel
This also squashes a namespace related bug introduced by the watchutils
refactoring.
2009-06-03 12:48:48 +02:00
hjk
27609c4f00 debugger: remove some debug output, also make dumper input more readable in
the log.
2009-06-03 12:48:47 +02:00
hjk
ee5fb31f11 debugger: re-start work on image dumper 2009-05-29 16:25:12 +02:00
Johannes Zellner
61d3f55b1e fix debug application with terminal different to default (xterm)
The setting, which terminal, to start an application in debug mode from, was ignored, since the QSetting was just not set.

Reviewed-by:ossi
2009-05-29 15:03:56 +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
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
hjk
cce1c7f78e debugger: rename 'win' subdir to 'shared' 2009-05-19 15:45:58 +02:00
hjk
f63f18b840 debugger: put gdb related stuff into directory of its own 2009-05-19 15:23:12 +02:00