My issue is something similar to https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000161150-Debugging-Step-into-my-code-and-other-actions-Intermittent-inconsistent-?input_string=PyCharm%20Debugger%20Step%20into%20my%20code%20(Alt%2BShift%2B.
When i ran the debugger, it stops at the breakpoint at line 32 as expected. But when I click the step into my code line, I would expect the debugger to move to the next line which is line 33. However, the debugger jumps to the end of the script (or next breakpoint if there is one). The other buttons on the left, step into, steps into any code from any imported libraries which is not what I want. I have PyCharm installed on another laptop and the step into my code works as expected. I have updated my PyCharm to the latest version and this problem still persists. Any help is greatly appreciated! Thank you!