[Qt-interest] Debugging for QT
Atlant Schmidt
aschmidt at dekaresearch.com
Mon May 16 12:54:10 CEST 2011
Jaco, et al.:
> I think that appears when you construct a QFile without
> specifying a file name and then use it.
And this can, of course, happen implicitly as your application
tries to do things like set images or animations into labels and
the like.
Atlant
________________________________
From: qt-interest-bounces+aschmidt=dekaresearch.com at qt.nokia.com [mailto:qt-interest-bounces+aschmidt=dekaresearch.com at qt.nokia.com] On Behalf Of Jaco Naude
Sent: Monday, May 16, 2011 03:25
To: yogesh upreti
Cc: qt-interest at qt.nokia.com
Subject: Re: [Qt-interest] Debugging for QT
The first part of your message has nothing to do with the crash:
QFSFileEngine::open: No file name specified
I think that appears when you construct a QFile without specifying a file name and then use it.
The second part tells you that you try to access items outside of the scope of a list. Normal debugging and stepping through the code should show you where it happens.
Cheers,
Jaco
On Mon, May 16, 2011 at 7:10 AM, yogesh upreti <yogesh.upreti at gmail.com<mailto:yogesh.upreti at gmail.com>> wrote:
Dear Group,
I have a problem in running my programme.
It terminates with runtime error and I am not able to find the problem.
When I run in QtCreator in Debugging mode, I get
Debugging starts
QFSFileEngine::open: No file name specified
ASSERT failure in QList<T>::at: "index out of range", file u:/crash/scripts/win_tools/qt/2010.05/qt/include/QtCore/../../src/corelib/tools/qlist.h, line 455
Invalid parameter passed to C runtime function.
Invalid parameter passed to C runtime function.
Debugging has finished
But I am not able to see where this error is coming from?
Any suggetion how should I debug the program using Qtcreator or any other method??
Thanks in advance
Yogesh Upreti
_______________________________________________
Qt-interest mailing list
Qt-interest at qt.nokia.com<mailto:Qt-interest at qt.nokia.com>
http://lists.qt.nokia.com/mailman/listinfo/qt-interest
Click here<https://www.mailcontrol.com/sr/okyPK9EOEbXTndxI!oX7UsdpzMR7Bo2K6d7M6KyGiWJbY6jIgiolxzHZr!vQ4Qak0+EvhqRAbnX55a0nEA+RCg==> to report this email as spam.
________________________________
This e-mail and the information, including any attachments, it contains are intended to be a confidential communication only to the person or entity to whom it is addressed and may contain information that is privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the sender and destroy the original message.
Thank you.
Please consider the environment before printing this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110516/62b602da/attachment.html
More information about the Qt-interest-old
mailing list