Commit Graph

17 Commits

Author SHA1 Message Date
Friedemann Kleint
f63a969c8a Debugger[CDB]: Fix setting individual formats by iname.
Do not hex-decode names.

Change-Id: I0b9b6df2524cdf66bc34958bbab5bbc28f8a73db
Reviewed-on: http://codereview.qt.nokia.com/3172
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2011-08-18 12:13:18 +02:00
Friedemann Kleint
7fbbe77874 Debugger[CDB]: Rework string formatting.
Use watch encoding without quotes for non-ASCII output.
Use formats with quotes for recoded strings.
Extend char-pointer recoding to work for char-arrays as well
and restrict to char types. Split up and re-use when
outputting QByteArrays or std::[w]string.

Task-number: QTCREATORBUG-5667
Change-Id: If9748c2e375ee5ecb05d257410eba4012de1c3cf
Reviewed-on: http://codereview.qt.nokia.com/2747
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2011-08-08 15:00:57 +02:00
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
hjk
8397663964 Update license. 2011-04-13 11:49:28 +02:00
Friedemann Kleint
3f3ad561c7 Debugger[CDB]: Reduce roundtrips when stepping.
Report threads and frames along with stopped notification.
Change special logic for step into and switching threads
on interrupt accordingly.
2011-01-25 18:35:31 +01:00
Friedemann Kleint
20046e3ab3 Debugger[CDB]: Fixes for namespaced Qt.
Fix broken substringpredicate (temporary string reference),
fix Qt container template detection not to fall for
QMap<>::iterator (real inner class).
2011-01-19 11:40:50 +01:00
con
d1023c7614 It's 2011 now.
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
Friedemann Kleint
b74ecbdb5a Debugger[New CDB]: Update all variables on assignment.
Some documentation/comment changes.
2011-01-11 14:58:32 +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
con
23c22b7c66 License headers, part 2 2010-12-17 17:14:20 +01:00
Friedemann Kleint
5fcc706800 Debugger[New CDB]: Work on QList.
Move container size code to container.cpp/h and known type
enumeration to separate knowntype.h.
Add some more types. Change type detection to work without
'class '/'struct ' prefixes for inner types. Add Qt types with
Movable/Primitive flags. Add QStack/QQueue, size for std::deque
and std::stack. Add infrastructure for linked-list type containers
and std::list. Implement QList specialisations depending on type.
2010-12-13 16:30:29 +01:00
Friedemann Kleint
985e5d8dd6 Debugger[New CDB]: Work on recoding char *-pointers.
Latin1/Ucs4. Append hex dump in case non-printable
characters show in default output.
2010-12-10 10:49:11 +01:00
Friedemann Kleint
7baf7b24e0 Debugger[New CDB]: Pass formatting parameters.
Pass around formatting parameters as structure.
Prototypically implement formatting of char *-Pointers
as UTF8.
Transfer registers and modules only if dock window is visible.
2010-12-09 17:04:43 +01:00
Friedemann Kleint
f3f95c693a Debugger[new CDB]: Add support for more core types.
Structures with accessible members.
2010-11-29 12:35:19 +01:00
Friedemann Kleint
78fe22f4a3 Debugger[New CDB]: Add SymbolGroupValue for simple dumping. 2010-11-25 17:17:06 +01:00
Friedemann Kleint
56d3664934 Debugger: Add extension library to be loaded into CDB.exe 2010-11-18 13:55:52 +01:00