Commit Graph

28 Commits

Author SHA1 Message Date
hjk
9febb0bcb8 debugger: remove old disassembler view and handler
It is replaced by a real editor in e82d6c7b0.
2009-08-17 13:34:15 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
hjk
ad46f1286f Revert "Enabled the use of Debugger-specific watch/locals models."
This reverts commit abf5e3ddc3.
2009-07-13 09:11:07 +02:00
Friedemann Kleint
abf5e3ddc3 Enabled the use of Debugger-specific watch/locals models.
- Modified WatchModel to handle storage of an hierarchy
  of WatchItems.
- Factored out code for asynchronous population to
  AsyncWatchModel and added a mixin for convenient
  handling
- Added base class for synchronous models.
- Implement simple, synchronous models for CDB, greatly
  simplifying code and finally getting manual
  expansion right.
Signed-off-by: hjk <qtc-committer@nokia.com>
2009-07-10 14:36:28 +02:00
Friedemann Kleint
a360c65e4d Made CDB use colored output and add LogWarning. 2009-06-19 12:47:23 +02:00
Friedemann Kleint
24cf802a58 Compile new watch model for CDB. 2009-06-17 17:34:48 +02:00
hjk
609f4a437b debugger: Rework watch model.
It's now properly using canFetchMore/fetchMore. cdb is not yet ported.
2009-06-17 16:00:04 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10: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
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
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
Friedemann Kleint
36a94b69b1 Added Detaching to CDB. 2009-05-11 16:54:35 +02:00
Friedemann Kleint
aa8548d37e Added Cdb Debugger path options (including symbol server).
Made pathlisteditor use a toolbutton menu as it looks too
much of a "button desert" otherwise.
2009-05-08 16:56:48 +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
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
2f115bebd7 Fix previous commit. 2009-04-15 12:04:27 +02:00
Friedemann Kleint
d199d6606e Continue CDB.
Improve locals handling, add watcher handling via expressions. Make
debug marker appear, start with breakpoint synchronization.
2009-04-07 17:07:11 +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
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
Friedemann Kleint
04a15daab7 Fixes: Compilation/start on handling console processes. 2009-03-17 16:54:35 +01:00
Friedemann Kleint
c83782043a Attach properly, first glimpse of symbols. 2009-03-06 17:10:23 +01:00
Friedemann Kleint
86b6c44e4e Process Listing Windows 2009-03-04 16:00:43 +01:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
Friedemann Kleint
2cf1e2431e Load library at runtime 2009-02-23 16:13:35 +01:00
Friedemann Kleint
fe4a3f354d Added private header for engine 2009-02-20 17:07:00 +01:00
Friedemann Kleint
d9bc54ed75 Moved CDB support into separate directory and enable via config switch 2009-02-20 15:40:51 +01:00