[Qt-interest] Debugging for QT
yogesh upreti
yogesh.upreti at gmail.com
Mon May 16 17:39:26 CEST 2011
Thanks a lot guys.
My problem was not the meaning of these warning messages.
It was not clear that where these were coming from.
I took the old exit/printf statement approach to find out the but, took me 2
hours but I was able to find it out.
I am still not clear as in how to work with debugger. It gives me lot of
"Dump messages" but no file names, and in all the tutorials from QtCreator
shows a nice "backtrace" to problem areas.
I hope I don't have to use it anymore. :)
Thanks for help people.
Regds,
Yogesh
On Mon, May 16, 2011 at 3:19 PM, Jon Malachowski <jmalacho at gmail.com> wrote:
> place a break point on line one of the main part of your code. And run as
> the debugger. Then step through the code using step_over. This will help
> you find your error.
>
> On Mon, May 16, 2011 at 3:10 AM, yogesh upreti <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
>> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110516/631b426f/attachment.html
More information about the Qt-interest-old
mailing list