gdb - How can I debug my Qt application? -
I have to debug something in my QT application, but the stack shows the instructions which are not part of my code and There are 3 threads (including main) running, what is the best way to debug it? Do i need mess Will you be able to help sticking the stack?
There is a stack trace of thread that is involved in disturbances:
0 raise /lib/libc.so 6 0
1 Revocation / Lib / LibSite .6 0
2 ?? /lib/libc.so.6 0
3 ?? /lib/libc.so.6 0 4 free /lib/libc.so.6 0
5 ?? /lib/libc.so.6 0 6 6 tzset /lib/libc.so.6 0
7 QTime :: currentTime () /usr/lib/libQtCore.so.4 0
8 FPSengine:: XmitData FPSengine2.cpp 93
9 FPSengine :: getData FPSengine2.cpp 21
10 Thread :: list threadbreaking CPP 109 11 ?? /usr/lib/libQtCore.so.4-0/12/start_thread/lib/libpthread.so.0 0
13 Clone /lib/libc.so.6 0
14 ?? 0
An abortion indicates that there was an exception and it seems that something is done to always call QT time :: current time (), which is toset (which touts). Apart from this, the problem is always with the thread created with QT Concrete: Run (). It never happens with the main thread or any QTTHREADS for debugging, I always get high print statements, and many coffees and patience are the best help.
Comments
Post a Comment