Unable to reach breakpoints when debugging python unittests

Answered

Hi,

I am facing 2 issues, which may be related, when debugging python unittests in Pycharm.

1. maximum recursion reached... exception ignored

2. Unable to reach any break points I set in the test. The tests were run to the end without stopping at any breakpoints. (The test exception shown below is expected.)

I tried to add pdb.set_trace() in the test and it was able to stop at the correct line.

Does anyone have any idea the reasons behind this problem or how I can investigate this? Maybe you can show me where I can find the correct log?

Thank you very much!

0
1 comment

Hi! Could you please create an issue in our issue tracker and attach a sample project for reproducing the problem? https://youtrack.jetbrains.com/issues/PY

0

Please sign in to leave a comment.