[Qt-creator] problems debugging qmap with qtcreator master

Tim Sander tim at krieglstein.org
Mon Oct 21 15:40:24 CEST 2013


Hi

I currently have the problem with qtcreator master that it just shows not very 
helpfull maps which have been parsed by:
https://qt.gitorious.org/qt/qtjsondb/source/5688d8cfbae4f48542dda01ec56dcc51c4030169:src/3rdparty/qjson/src/json.cpp

If i click on some items, i get even a segfault, even if the program itself is 
running fine.

This time this is a remote linux setup, not baremetal :-).

Any why the pretty printer fails?

Output of the debug value pane:
	Lokale Variablen		
		_container_	@0xbefff568	QForeachContainer<QStringList>
		cursor	<3 Elemente>	QVariant (QVariantMap)
			[0]	@0x51554	QMapNode<QString, QVariant>
				key	<nicht zugänglich>	QString
				value	(invalid)	QVariant (invalid)
			[1]	@0x5157c	QMapNode<QString, QVariant>
				key	<nicht zugänglich>	QString
				value	<nicht zugänglich>	QVariant (Non)
			[2]	@0x515a4	QMapNode<QString, QVariant>
				key	<nicht zugänglich>	QString
				value	<nicht zugänglich>	QVariant (Non)
		l	<3 Elemente>	QStringList
			[0]	<nicht zugänglich>	QString
			[1]	<nicht zugänglich>	QString
			[2]	<nicht zugänglich>	QString
		map	<3 Elemente>	QVariantMap
			[0]	@0x51554	QMapNode<QString, QVariant>
				key	<nicht zugänglich>	QString
				value	(invalid)	QVariant (invalid)
			[1]	@0x5157c	QMapNode<QString, QVariant>
				key	<nicht zugänglich>	QString
				value	<nicht zugänglich>	QVariant (Non)
			[2]	@0x515a4	QMapNode<QString, QVariant>
				key	<nicht zugänglich>	QString
				value	<nicht zugänglich>	QVariant (Non)
		p	<nicht zugänglich>	QString
		path	<nicht zugänglich>	QString
	Inspector		
	Ausdrücke		
	Rückgabewert		
	Tooltip		

Best regards
Tim



More information about the Qt-creator mailing list