[Bug 78565] [WISH] Augment Watch Window type information for QObject derivatives with the result of the className() method (gives true type)

Jonathan Solomon jsolomon at comcast.net
Sat Mar 27 20:53:07 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=78565      




------- Additional Comments From jsolomon comcast net  2004-03-27 20:56 -------
Ok. If in the current frame stack a pointer "foo" is declared as

QObject*    foo = getTheFoo();

the Watch window will show

Name		Type		Value
foo		QObject*	(QObject*)0x12345678

when the most derived type of the object returned by "getTheFoo()" above might actually be KDockWidget (or what have you). Not sure the best way to show this but you could put the true type in either the Type or Value column and the variable's type in the other.

foo		KDockWidget*	(QObject*)0x12345678
	or
foo (QObject*)	KDockWidget*	(KDockWidget*)0x12345678

etc. Ideally the tree should show the members of the true type also. Maybe I'm missing something and it does this now but it doesn't appear to.




More information about the KDevelop-devel mailing list