how to identify currently running threads QTHreads

N

News123

Hi I'm working with several persons on a PyQT python application.


This application is using threads / QThreads in several places.


When trying to quit the application it doesn't stop.


I assume one thread / QThread did not stop. (wasn't declared as daemon
thread)


Is there a simple way in Python to identify all
active Threads / QThreads when trying, such that I can locate the
thread, itls related python code and fix it?

Thanks for any suggestions.
 
A

Aahz

Is there a simple way in Python to identify all active Threads /
QThreads when trying, such that I can locate the thread, itls related
python code and fix it?

threading.enumerate() or sys._current_frames()
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top