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.
This commit is contained in:
Friedemann Kleint
2009-07-03 13:56:27 +02:00
parent 89d49e3b20
commit 5a8b61b2ee
8 changed files with 225 additions and 89 deletions

View File

@@ -90,13 +90,15 @@ struct QtDumperResult
struct Child {
Child();
int valueEncoded;
int keyEncoded;
int valueEncoded;
int childCount;
bool valuedisabled;
QString name;
QString address;
QString exp;
QString type;
QByteArray key;
QByteArray value;
};
@@ -107,6 +109,7 @@ struct QtDumperResult
QString iname;
QString address;
QString type;
QString extra;
QString displayedType;
QByteArray value;
int valueEncoded;