Commit Graph

61 Commits

Author SHA1 Message Date
hjk
f2392ffbc0 debugger: allow the user to hide the std:: and Qt's namespace 2009-11-25 13:46:33 +01:00
hjk
902bb6baa0 debugger: small changes for synchroneous mode 2009-10-20 16:02:54 +02:00
Friedemann Kleint
25ee70bb24 Debugger: Use the code model to detect unitialized variables.
This should save debugger round trips and crashes in the debugging
helpers.
Add respective option to debugging helper option page, defaulting to
true.On this occasion, make CDB detect shadowed variables correctly
and display them as "<shadowed n>" as does the Gdb engine by
reversing the direction in which
CdbSymbolGroupContext::populateINameIndexMap works.
Rubber-stamped-by: hjk <qtc-committer@nokia.com>
2009-10-16 16:26:28 +02:00
hjk
a92d6fbcd8 debugger: disable l&w 'alternative formats' submenu if there aren't any
alternatives.
2009-10-07 14:30:37 +02:00
Friedemann Kleint
1fb8f60e03 Debugger: Fix crash toggling Stack/"Derefence Pointers" without project
Enable debugger actions correctly.
Reviewed-by: hjk <qtc-committer@nokia.com>
2009-10-07 13:36:48 +02:00
hjk
d130588469 debugger: add option to automatically derefence pointers in locals&watchers 2009-10-06 10:54:08 +02:00
hjk
ccd37a6655 debugger: make 'address column' in stack and breakpoint view optional 2009-10-01 11:42:04 +02:00
hjk
b248bd28cd debugger: fix adding nested watcher 2009-09-29 16:38:29 +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
hjk
452f108ac7 debugger: fixes and improvements related to the Locals display
Split the concepts 'enabled' and 'editable' in the dumper output
Disable "<not in scope>" entries, also fix their type.
Fix glitch in type beautification for display
Find reason for failing bulk updates.
2009-08-31 16:05:55 +02:00
Friedemann Kleint
76c226dfdb Debugger: Fix memory display
- Watchwindow: Do not open Address dialog if menu is canceled (act = 0
  matching the unitialized unknown memory action)
- Actually pass the address of the dialog to the agent
- Make the "Open Memory editor..." action always visible to be able to
  look at const char *x pointing at y
- Improve the address dialog with checking and dialog button box
- Explicitly pass the quint64 around
- Translate & purge
2009-08-19 14:41:51 +02:00
Friedemann Kleint
a04d0978f8 I18n: Updated German translation, fixed tr-Bugs for 1.2.9 2009-08-19 12:32:23 +02:00
hjk
589cc43ab1 debugger: make context menus of views look more similar 2009-08-18 16:47:02 +02:00
hjk
e82d6c7b05 debugger: create a disassembler view as main editor
"Stepping instruction wise" and "display disassembler" mode is now toggled by a
single action. This also allows to re-use F10 and F11 as keyboard shortcut.

Missing: caching of disassembler output, removal of old disassembler view.
2009-08-17 13:18:54 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
hjk
89ffffc183 debugger: use the bineditor to show memory dumps 2009-08-12 14:49:15 +02:00
Alessandro Portale
d3f9757916 Removing some unused semicolons after Q_UNUSED
There were both variants, with and without extra semicolon.
2009-07-13 17:35:17 +02:00
hjk
8c00de4536 debugger: remove unnecessary first level in WatchModel
There used to be a single 'Locals' etc item of the true root that was
never shown anyway. Removing this also renders using setRootIndex()
in WatchWindow unnecessary.
2009-07-13 11:29:36 +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
ee9894bf7a debugger: disable parts of L&W context menu when no item is selected 2009-07-08 17:28:04 +02:00
hjk
916fc9aa96 debugger: implement per-type format changes in the watch view 2009-07-03 13:26:08 +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
Friedemann Kleint
44d02a652b Further cleanup of watch code, do not evaluate "<Edit>" watcher. 2009-06-18 10:34:53 +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
957a8f3479 debugger: some encoding correctness 2009-05-29 10:35:29 +02:00
hjk
307470b21f debugger: make striped background of debug views optional 2009-05-05 10:15:09 +02:00
hjk
3cb783f7fc debugger: allow drag&drop from main editor to watchers view 2009-04-29 12:20:50 +02:00
hjk
544aea1a2e debugger: watcher creation revisited 2009-04-16 14:42:45 +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
8d41168672 debugger: make assignment in watch window look nicer, also make it work in
script debugger
2009-04-07 14:15:02 +02:00
hjk
5266f16cc6 debugger: new test case for char arrays 2009-04-03 13:40:18 +02:00
hjk
f812780e30 debugger: keep row selection in watchersview after expand/collapse
Task-number: 233285
2009-03-25 13:05:12 +01:00
hjk
504b81997d debugger: use new actions for watchers window/manager communication 2009-03-25 12:31:02 +01:00
hjk
2a9070038f debugger: insert action to create new watch item in locals&watchers context menu 2009-03-19 17:54:01 +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
hjk
45e7ccc0fa debugger: make assignment of simple types work again 2009-03-19 15:33:38 +01:00
hjk
00be68701e allow in-line editing of watcher expressions 2009-03-19 15:33:37 +01:00
hjk
50cabb9216 debugger: progress in action reorganisation 2009-03-19 12:24:04 +01:00
hjk
66674d3ae9 debugger: more actions reshuffling 2009-03-19 10:54:27 +01:00
hjk
0b58f1f527 debugger: reorganizing settings and actions in progress 2009-03-19 09:32: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
hjk
f73a4d5fd8 Fixes: debugger: try accessing compiled-in dumpers when attaching to an
external application
2009-03-16 13:16:17 +01:00
hjk
aa81df02ff Fixes: debugger: easier access to debugger properties from watchers window 2009-02-27 11:41:19 +01:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00