Commit Graph

16 Commits

Author SHA1 Message Date
Friedemann Kleint
4d46c69d25 Debugger: Documentation work on qtcreatorcdbext/Debugger.
Add comments, introduce internal switch in
doc/api/qtcreator-api.qdocconf.
2011-02-04 15:10:17 +01:00
Friedemann Kleint
7d72445bc0 Debugger[New CDB]: Qualify types in watch expressions by module.
... to make them faster. Check for watch expressions
of the form '*(Type *)0xaddr' and insert module for non-PODs.
Add testing command.
2011-01-17 14:52:04 +01:00
Friedemann Kleint
3a87af8ada Debugger[New CDB]:Introduce watches infrastructure.
- Move the 'current module' into the Node
- Split symbol group hierarchy into LocalsSymbolGroup
  tied to frame/thread and a separate, scopeless
  WatchesSymbolGroup
- Add infrastructure for removing symbols from a SymbolGroup,
  doing the index bookkeeping.
- Add method to synchronize watches to  WatchesSymbolGroup
  (iname/name map).
- Introduce watches commands for adding and dumping.
- Extend locals command to get watches as well.
- Add a dummy 'ErrorSymbolGroupNode' to use in case
  insertion fails.
2011-01-14 16:53:05 +01:00
con
d1023c7614 It's 2011 now.
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
Friedemann Kleint
542f21dcfb Debugger[New CDB]: Fix dump recursion.
To suppress 3rd order children for nested containers
(taking reference nodes into account).
2011-01-07 13:49:53 +01:00
Friedemann Kleint
7b6f9fa47c Debugger[New CDB]: Display QObjectPrivate/QWidgetPrivate.
and QVariant-containers. Add infrastructure to pass information
from simple to complex dumpers (cached additional nodes) and for
non-container type complex dumpers.
2011-01-07 12:19:15 +01:00
Friedemann Kleint
ef48b33127 Debugger[New CDB]: Refine type detection, dump nested containers.
Introduce test commands.
2011-01-06 15:28:57 +01:00
Friedemann Kleint
29ad8a4561 Debugger[New CDB]: Fix QList.
- Account for POD types in largeStatic-Check
- Avoid dumping empty children list (move handling to visitor)
- Verbose facility.
2011-01-05 16:52:30 +01:00
Friedemann Kleint
b7df5467d8 Debugger[New CDB]: Split up long extension messages.
To accommodate the limitation of output line width of CDB.
2011-01-04 12:40:52 +01:00
Friedemann Kleint
8d3e48af33 Debugger[New CDB]: First attempts at QMap<>.
Qualify map and hash nodes as Module!QMapNode<>.
Limit recursion depth of GDBMI dump.
Introduce error reporting.
Iterate QMap nodes and create artificial key/value nodes.
2010-12-21 17:23:27 +01:00
Friedemann Kleint
8095a25709 Debugger[New CDB]: Dump std::map,std::multimap and std::set.
Rebuild the structure in memory as back-expanding parent
pointers seems to fail sometimes.
2010-12-20 17:11:37 +01:00
con
23c22b7c66 License headers, part 2 2010-12-17 17:14:20 +01:00
Friedemann Kleint
bc31a3f140 Debugger[New CDB]: Dump QHash/QMultiHash/QSet.
Introduce new Symbol group node for fake map nodes.
Iterate over QHash and extract keys, values for QSet/QHash.
2010-12-16 15:49:08 +01:00
Friedemann Kleint
476dda1b43 Debugger[New CDB]: Fix stepping issues, forced shutdown, values.
- Do not report start-up trap as stop reason should one trigger
  while stepping.
- Set current frame to first usable frame, avoiding disassembly
  while stepping
- Kill process in case of forced shutdown with pending (long)
  commands.
- SymbolGroupValue: Do a quick check for accessible values
  and mark failure as 'invalid'.
- Introduce flag indicating existence of simple dumpers to types.
2010-12-16 12:20:44 +01:00
Friedemann Kleint
b0b915fa56 Debugger[New CDB]: Fix flag handling and expanding of list children.
Suppress repetitive invocation of dumper evaluation.
Use parseWatchData() as does gdb.
2010-12-15 14:09:37 +01:00
Friedemann Kleint
cc3dd43942 Debugger[New CDB]: Linked lists containers/container child expansion.
Introduce node hierarchy and move nodes to a separate file.
Introduce reference nodes that point to additional symbols and
symbols within the symbol tree (make deeply nested linked list
elements visible as array elements). Properly name container
elements as array elements 0..n. Fix pre-expansion of complex
dumpers.
2010-12-15 11:01:01 +01:00