Problem with python debugger in PyCharm 2024.3

Answered

Hello,

The Python debugger has stopped working on my recent PyCharm update. The debugger hits the breakpoint but fails to load threads/variables and hangs during “Step over” or “Step in” operations.

Software info:

PyCharm 2024.3 (Professional Edition)
Build #PY-243.21565.199, built on November 13, 2024
Licensed to Pooja Nagendra Babu
Subscription is active until May 31, 2025
For educational use only.
Runtime version: 21.0.5+8-b631.16 x86_64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.lwawt.macosx.LWCToolkit
macOS 14.6.1
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 2048M
Cores: 8
Metal Rendering is ON
Registry:
 ide.balloon.shadow.size=0
 debugger.new.tool.window.layout=true
 ide.intellij.laf.enable.animation=true
 ide.experimental.ui=true
 i18n.locale=
Non-Bundled Plugins:
 org.antlr.intellij.plugin (1.24)
 com.jetbrains.space (243.21565.122)
 com.intellij.ml.llm (243.21565.247)
 org.jetbrains.plugins.gitlab (243.21565.204)
 org.jetbrains.plugins.github (243.21565.204-ultimate)

Soon after the breakpoint is hit:

After clicking on Step Over:

Any pointer on getting this to work is appreciated!

0
5 comments

Does disabling  python.debug.use.single.port in Help | Find Action | Registry helps?
 
We had similar reports.
 


 

0

hi Miguel, i had a problem that connection stayed in a endless loop. Disabling single.port helped to get connected to debugger. Thank you for the hint. 

Working with PyCharm 2024.3 Build #PY-243.21565.199, built on November 13, 2024

0

Hi Miguel,

Disabling python.debug.use.single.port didn't help. 

I came across this issue which is similar: https://youtrack.jetbrains.com/issue/PY-37426/Debugger-step-into-step-over-not-working-anymore. According to this, disabling python.debug.low.impact.monitoring.api did the trick.

I think it is better this be documented somewhere.

Thank you,

Pooja

0

Afraid we are also running into the issue, both `python.debug.use.single.port` and `python.debug.low.impact.monitoring.api` didn't work.
 

1

I am facing a problem with Debugger not being able to disconnect when I stop it (red rectangle button).

I tried to implement the suggestion but I don't have the Help | Find Action | Registry menu.

I am using the following version:

PyCharm 2024.3.1.1 (Professional Edition)
Build #PY-243.22562.220, built on December 18, 2024

0

Please sign in to leave a comment.