Commit Graph

127 Commits

Author SHA1 Message Date
con
df31a8742e Fix resetting to default layout in case of floating widgets. 2009-08-11 16:38:53 +02:00
con
0fee3776e8 Extract the special mainwindow behavior of the debug mode into class. 2009-08-06 16:35:22 +02:00
Friedemann Kleint
1cad9748cc Fixed tr()-glitches. 2009-07-30 16:44:16 +02:00
con
6a88525aa3 Some more QToolBar changes. 2009-07-16 18:08:41 +02:00
dt
e7de23ea0a Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-07-15 17:44:16 +02:00
dt
54bbcc4a7c Mention possible locations of the debugging helper in the error dialog
Requires a lot of trivial forwarding.
2009-07-15 17:41:45 +02:00
Friedemann Kleint
e917eeacb9 Debugger: Alert on stop in the debugger manager. 2009-07-15 16:50:49 +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
hjk
013437cfab debugger: add widget watchers by mouse click in the debugged application.
The option is hidden in the context menu.
Currently the application must be stopped.
2009-07-01 14:15:44 +02:00
hjk
2a959f47a4 debugger: use an expandable tree in the debugger tooltip 2009-06-24 12:31:09 +02:00
hjk
920880eb96 debugger: fix crash on "recheck debugging helper" when not debugging 2009-06-19 13:11:08 +02:00
hjk
3545c822c9 debugger: put some color into the outputpane 2009-06-19 12:05:23 +02:00
hjk
fba1d8d8f3 debugger: slightly more correct wording of the debugger helper explanation 2009-06-19 09:31:21 +02:00
Friedemann Kleint
12ac317d0a Obtain the toolchain type and choose debugger engine accordingly. 2009-06-18 15:16:18 +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
hjk
b052ce2c21 debugger: add a 'break at main' checkbox in the 'start and debug external' dialog 2009-06-12 12:57:22 +02:00
hjk
94b1b1fd7b debugger: move 'break by function' menu items
Move menu to from the main debug window to the context menu of the
breakpoints view to avoid clutter in the main menus.
2009-06-12 11:55:42 +02:00
hjk
957a8f3479 debugger: some encoding correctness 2009-05-29 10:35:29 +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
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