[Qt-creator] QML Debug Window
Stephen King
Stephen.King at domino-uk.com
Wed Feb 13 10:34:55 CET 2013
Hi,
Thanks for the info, my main concern was just to check that they are ghost objects and not a mistake in my QML code (which is always likely!).
The debugger log is very busy, so I won't post it, but I can confirm that when a new value comes into that view the QML objects are updated.
Regards,
Steve
________________________________
From: Jana Aurindam [mailto:Aurindam.Jana at digia.com]
Sent: 13 February 2013 09:21
To: Stephen King
Cc: qt-creator at qt-project.org
Subject: Re: [Qt-creator] QML Debug Window
Hi,
The QML object tree in the debugger is "refreshed" when a new QML object is created. This means that sometimes the debugger may list "ghost" objects, i.e. objects that have been garbage collected but still exist in the debugger model.
We plan to track the lifetime of the QML objects in order to provide a better representation of the current state of the QML engine. However, I am planning to put this feature in Qt 5.1 release.
In your case, the QML debugger updates the model whenever a new List item is created. When you stop scrolling, there are no new objects being created and hence the model is not updated.
It would be helpful if you can paste the debugger log (Windows->Views>Debugger Log) to get a better overview.
~Auri
Aurindam Jana, Software Engineer - Digia, Qt
Don't Panic!
Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Anja Wasenius
Registergericht: Amtsgericht Charlottenburg, HRB 144331 B
****************************************************
Visit our website at http://www.domino-printing.com
****************************************************
This Email and any files transmitted with it are intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any reading, redistribution, disclosure or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient please contact the sender immediately and delete the material from your computer.
E-mail may be susceptible to data corruption, interception, viruses and unauthorised amendment and Domino UK Limited does not accept liability for any such corruption, interception, viruses or amendment or their consequences.
****************************************************
Domino UK Limited. Registered in England. Registered Number:1750201. Registered Office Address: Trafalgar Way, Bar Hill, Cambridge, CB23 8TU.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20130213/fdb678e5/attachment.html>
More information about the Qt-creator
mailing list