Friedemann Kleint
5a8b61b2ee
Great debugger helper bug fixing spree.
...
- Fix extractTemplate() not to kill blanks in case there is no
blank after a comma, fix hardcoded types accordingly.
- Make niceType()'s regexps ignore blanks after commas, add
unsigned short as char_type and cache the mappings, making
them work for CDB.
- CDB: Parse map output of dumpers correctly, generally don't
confuse the parser by unknown keywords encountered when
parsing children, thus enabling simple QMap types.
- Make dumpInnerValueHelper output std::string types.
2009-07-03 13:56:27 +02:00
hjk
89d49e3b20
debugger: make format for all integer types selectable
2009-07-03 13:26:08 +02:00
hjk
916fc9aa96
debugger: implement per-type format changes in the watch view
2009-07-03 13:26:08 +02:00
hjk
ed3b984910
debugger: fix bug in new watch model that led to not re-fetching outdated information.
2009-07-01 14:15:44 +02:00
hjk
b295aec1ad
debugger: fix several small issues in the dumper code
...
Fix typo in QChar helper.
Add a auto tests for some of the dumpers.
Make the dumpers compilable for Qt < 4.5 for better regression tests.
Make manual tests compile with Qt < 4.5.
2009-06-26 10:51:27 +02:00
hjk
2a959f47a4
debugger: use an expandable tree in the debugger tooltip
2009-06-24 12:31:09 +02:00
Friedemann Kleint
cc58713361
Add a fake dereferencing item '*' to CDB for dumping QString*, etc.
...
Simplify the symbol group recursion to oblivion and make
it parametrizable with predicates to control recursion and
further processing. Most importantly, insert a parent item
BEFORE its child item (ignoring for now the fact that child recursion
might fail), making it possible to check and do magic on the parent,
disabling further handling by the symbol context. Dumper handling
can then kick in and handle pointed-to dumpeable items by inserting
fake dereferencing items.
Remove logic to detect already expanded items, just re-insert the
children if the handler asks for it.
2009-06-23 13:43:23 +02:00
hjk
69f58777c2
debugger: also simplify diplayed type of nested std::containers
2009-06-23 10:25:06 +02:00
Friedemann Kleint
bdfd71661c
Replace int WatchData::childCount by bool ...hasChildren in Debugger.
...
...making engine implementations easier.
Acked-by: hjk <qtc-committer@nokia.com >
2009-06-22 11:35:08 +02:00
hjk
e05505613a
debugger: sort alphebetically in watch view (again...)
2009-06-19 15:53:46 +02:00
hjk
725d8dbfc6
debugger: Prevent updateWatchData from being called multiple times.
...
Each calls to fetchMore() was triggering an updateWatchData, and that
can happen several times per user interaction.
2009-06-18 12:37:43 +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
ee5fb31f11
debugger: re-start work on image dumper
2009-05-29 16:25:12 +02:00
hjk
957a8f3479
debugger: some encoding correctness
2009-05-29 10:35:29 +02:00
Friedemann Kleint
5150089738
Fixed translation glitches.
2009-05-13 14:39:55 +02:00
hjk
0428a109e8
debugger: fix output of weak and strong reference counts in
...
QSharedPointer dumper
2009-04-29 15:09:42 +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
Oswald Buddenhagen
6d5eeb7afb
add missing tr()s, etc., add some //: comments
2009-04-20 16:51:10 +02:00
hjk
544aea1a2e
debugger: watcher creation revisited
2009-04-16 14:42:45 +02:00
hjk
e39d006ffb
debugger: fix re-initialization of watch item inames
2009-04-15 10:06:31 +02:00
hjk
353025f37f
debugger: potential fix for cases where the std:: namespace is not
...
reported properly
2009-04-09 13:49:22 +02:00
hjk
3e38a0598b
debugger: make user visible strings translatable
2009-04-08 16:05:49 +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
9318459b47
debugger: allow short stack to be expanded by a context menu item or
...
double click on the "<...>" line
2009-04-07 10:41:01 +02:00
hjk
5266f16cc6
debugger: new test case for char arrays
2009-04-03 13:40:18 +02:00
hjk
81562dce7a
debugger: compile fix
...
include <ctype.h> is needed on some systems
2009-04-02 11:41:36 +02:00
hjk
47995286b5
debugger: show non-ASCII in QString, too
2009-04-02 10:58:52 +02:00
Friedemann Kleint
d3102d8625
Complete debug output of watch data
2009-04-01 15:10:20 +02:00
Friedemann Kleint
8d54b23311
Continue on CDB watchmodel.
2009-04-01 08:55:57 +02:00
Friedemann Kleint
9d15bd3c7f
Introduce utility routine to create placeholder watch item
...
QLatin1String refactorings.
2009-03-25 17:33:49 +01: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
d5d7911f42
debugger: use less "reset" in the locals view
2009-03-24 13:00:15 +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
532c18d723
debugger: make add & remove wathcers work again after the action changes
2009-03-19 12:53:58 +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
8958a079b5
Fixes: debugger: also show the original address in a tooltip when
...
auto-dereferencing contents
2009-03-11 15:09:33 +01:00
hjk
d3f8d16f88
Fixes: debugger: implement custom dumpers for std::set
...
Task: 246286
2009-03-11 13:31:38 +01:00
hjk
77db01c410
Fixes: debugger: re-add code that was accidentally removed in bd96ebf7
2009-03-04 10:11:42 +01:00
hjk
8ca887aae2
Fixes: change file license headers to include LGPL
2009-02-25 09:15:00 +01:00
hjk
17f1c8a0f5
Fixes: debugger: watch view: collapsed items did not stay collapsed
2009-02-19 10:29:25 +01:00
hjk
eb021724df
Fixes: debugger: sort array and list indices numerically
2009-01-28 12:15:40 +01:00
Daniel Molkentin
59affcfffc
Bump year in licence header.
2009-01-13 19:22:14 +01:00