How do you debug apps with async calls?

Hi guys,

I’m currently using PyCharm 2016.2.3 commercial edition while debugging the tk-multi-workfiles2 app. And I can’t figure out why break points inside async functions does not break. Any other breakpoint in a sync function works just fine. Any of you guys have tips on this?

Cheers

3 Likes

Hi Simon – Unfortunately, it looks like this is a known limitation of PyCharm around QThreads:

3 Likes

Hi Tannaz,

Thanks for finding this. Using what you found I kept digging and found other threads that may contain a solution.

https://youtrack.jetbrains.com/issue/PY-21260?_ga=2.101871942.631581027.1581340577-710419994.1580306802

https://youtrack.jetbrains.com/issue/PY-4299

I’ll read those later this week and post my findings.

Cheers

3 Likes

Oh awesome! Thanks for sharing that; hopefully you can find a workaround!

1 Like