giusepped
13th October 2009, 02:02
Hi all.
After reaching more than 20k lines of codes I am messing up with a problem very strange.
If I run my program, in very particular situations (depending on the speed of typing input text and hitting the Enter key) the UI freezes, like stayng in a loop.
On the other hand, if I wait a while, before hitting the Enter key, in most of cases the UI does not freeze.
I can guess which class "disturb", because if I do not use it, everything is ok. (For instance the class uses a QTimer).
There is way to detect which class are conflicting at runtime, or which threads? (in linux).
Thank you.
After reaching more than 20k lines of codes I am messing up with a problem very strange.
If I run my program, in very particular situations (depending on the speed of typing input text and hitting the Enter key) the UI freezes, like stayng in a loop.
On the other hand, if I wait a while, before hitting the Enter key, in most of cases the UI does not freeze.
I can guess which class "disturb", because if I do not use it, everything is ok. (For instance the class uses a QTimer).
There is way to detect which class are conflicting at runtime, or which threads? (in linux).
Thank you.