Commit Graph

34 Commits

Author SHA1 Message Date
Friedemann Kleint
cb8830d9af CDB: Remove "experimental" message, better logging for threads 2009-09-29 17:33:51 +02:00
Friedemann Kleint
90470771fd Debugger: Export DebuggerManager and DebuggerStartParameters.
For device debugging. Move both from namespace
Debugger::Internal to Debugger, export them, give
DebuggerManager a static instance().
2009-09-25 16:01:28 +02:00
Friedemann Kleint
9a442ce79c Compile Windows 2009-09-25 09:31:35 +02:00
hjk
20b9258d9e debugger: refactoring
Intergrate per-engine state tracking with the global running/stopped state.
2009-09-25 08:36:44 +02:00
Friedemann Kleint
5b6ab144c6 CDB: Make disassembly work. 2009-08-18 09:59:15 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
Friedemann Kleint
b41d3a45ad CDB: Added option for verbose symbol loading, fixed image path.
Do not add all image paths (from different projects), keep a
base path and add current.
2009-07-27 15:32:46 +02:00
Friedemann Kleint
8b8bf42fbb CDB: Fixed thread handling, added dumping of string types in case of crashes. 2009-07-24 16:05:46 +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
44d02a652b Further cleanup of watch code, do not evaluate "<Edit>" watcher. 2009-06-18 10:34:53 +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
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
Friedemann Kleint
eb63bebc3e Introduced shared library injection as dumper load method.
Try to load custom dumpers using shared library injection
first as it is faster and does not rely on the symbol
for LoadLibrary being known to the debugger. Keep
call loading as fallback. Move the rest of the initalization
to the first dumper call, removing the need to break at main().
2009-05-05 09:52:24 +02:00
Friedemann Kleint
72a183777e Initial work on dumpers for CDB.
Add dumper calls, parser etc. Catch crashes
in the dumper functions.
2009-04-29 14:15:09 +02:00
Friedemann Kleint
9789ee4af1 Make CDB work for release builds.
Cleanup, remove unused options page file.
2009-04-23 09:25:57 +02:00
Friedemann Kleint
52915776cd Make CDB load custom dumpers.
Load in a 'well-defined' (temporary) breakpoint
at main().
2009-04-22 17:28:26 +02:00
Friedemann Kleint
471d31ac9c CDB refactoring, introduce typedefs to remove version numbers.
Log exceptions with stacktrace.
2009-04-21 12:30:12 +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
hjk
800a48f027 debugger: code cosmetics 2009-04-15 14:26:08 +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
Friedemann Kleint
3d55c45e2c Continued CDB breakpoint handling.
Enable temporarily stopping for setting breakpoints. Fix terminating the
debuggee in exitDebugger().
2009-04-08 16:37:41 +02:00
Friedemann Kleint
b3f620e514 Add expanding of symbols. 2009-03-27 17:19:39 +01:00
Friedemann Kleint
536320ea1a Start stack frame context/symbol group classes for CDB 2009-03-26 16:49:28 +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
355f44fe8f Fixes: Error logging, polish attach remote dialog 2009-03-05 17:30:29 +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
49cadd0e05 Clean up code 2009-02-23 14:46:46 +01:00
Friedemann Kleint
fe4a3f354d Added private header for engine 2009-02-20 17:07:00 +01:00