Commit Graph

23 Commits

Author SHA1 Message Date
Friedemann Kleint
581765055d Debugger [CDB]: Enable Assignment to string classes.
Assign to QString/QByteArray following gdbmacros.py
implementation (call resize if required, copy data into buffer).

Assign to std::[w]string only it has sufficient memory
(since std::string<>.resize cannot be called).
2011-05-17 12:19:24 +02:00
Tobias Hunger
aa2acec14c Fix/add copyright headers
Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
2011-05-06 15:17:05 +02:00
Friedemann Kleint
774fa49412 Fix more krazy warnings. 2011-04-19 15:43:53 +02:00
Oswald Buddenhagen
dc3c156cac Merge branch '2.2'
Conflicts:
	src/plugins/debugger/gdb/pythongdbengine.cpp
	src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.cpp
	src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.h
	src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.cpp
	src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.h
	src/plugins/qt4projectmanager/qt-maemo/maemodeploystep.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemoglobal.cpp
	src/plugins/qt4projectmanager/qt-maemo/qt4maemotargetfactory.cpp
	src/plugins/qt4projectmanager/qt-s60/qt4symbiantargetfactory.cpp
	src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp
	src/plugins/qt4projectmanager/qt4target.cpp
	src/plugins/qt4projectmanager/qt4target.h
	src/plugins/qt4projectmanager/qtoptionspage.h
	src/plugins/qt4projectmanager/qtversionmanager.cpp
	src/plugins/welcome/welcomemode.cpp
2011-04-14 12:39:31 +02:00
hjk
8397663964 Update license. 2011-04-13 11:49:28 +02:00
Friedemann Kleint
122f6a1845 Debugger: Add size to watch data.
Have CDB report it, pass it on to adding watches.
2011-04-04 16:15:03 +02:00
Friedemann Kleint
e216a52456 Debugger: Use watchmodel reformatting for char* data.
Pass data in binary form in case of unprintable characters
such that watchmodel reformatting can be used (instead of
appending a hex dump in the extension).
2011-02-21 14:19:41 +01:00
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