Check if main thread froze from a thread?
Posted: Thu Mar 29, 2018 8:53 pm
Using Tokyo Update 2.
First like to say, been using madExcept for a few years now, and it has been a life saver in many situations. Helped find issues in very old apps that existed before I started working here years ago.
Anyways, I'd like to have ability to have background threads to check if the UI froze up.... if this the case, then would be nice to just have the thread quit out and no try to bother updating the UI.
Did some googling and what not, but didn't see any sure fire way of doing this. So figured I'd ask.
Closest I got maybe to this was using RegisterException but this appeared to be a case where you call this during your try/except areas.
First like to say, been using madExcept for a few years now, and it has been a life saver in many situations. Helped find issues in very old apps that existed before I started working here years ago.
Anyways, I'd like to have ability to have background threads to check if the UI froze up.... if this the case, then would be nice to just have the thread quit out and no try to bother updating the UI.
Did some googling and what not, but didn't see any sure fire way of doing this. So figured I'd ask.
Closest I got maybe to this was using RegisterException but this appeared to be a case where you call this during your try/except areas.