recent Pycharm versions are too unstable when in debugging mode.
Not sure why apparently I'm the only one having this issue since I can't find any info on the internet. Meanwhile, I have 7 PC's all running windows 11, and all of them, without a single exception, are having this problem.
The issue doesn't happen on 2022.3.3. build. So something significant changed on an update later than that date.
Basically the debugging speed has increased by a lot, but it's too unstable to use.
- If I run the program too long on debug mode, the program just crashes, although it runs fine indefinitely on execute (no changes to the code whatsoever).
- If the debug mode starts with a debug breakpoint present somewhere in the code, very often the code will crash without getting far. Removing the breakpoint will let the debug process run. So I have to run the code, then quickly find the place I want to put the breakpoint, and place it.
- Although, doing this also sometimes crashes the code so it's not the solution.
- Also, step out(shift+f8)/step into(f7)/run to cursor(alt+f9) becomes broken, and just does the same thing as step over(f8).
Why is this happening? I've tried every basic troubleshooting stuff like reinstalling pycharm/python, making a new project, updating windows, etc. So far, the only thing that works is simply reverting Pycharm to version 2022.3.3.
Please sign in to leave a comment.
Please try disabling python.debug.use.single.port in Help | Find Actions | Registry and if the problem persists - create an issue in the PyCharm branch of YouTrack so we can properly investigate the problem. Attach relevant logs (Help | Collect Logs and Diagnostic Data) and provide a minimal example for reproducing the issue, if it is possible.