I'm trying to debug a multi-threaded Python application in Visual Studio Code, and it keeps jumping from one thread to another. I'd prefer it to finish the thread it started before jumping to the next. Is that possible? How do the pause buttons on the threads work?
Specifically it's the AWS IoT Python SDK, and the MQTT connection is multi-threaded with callbacks that fire when a subscription topic receives a message. It's somewhat random and frustrating to debug.
I can't be the first person to have this problem, but I can't find any information anywhere. Thanks!
