PyCharm debugger isn't working

Answered

I hadn't used PyCharm for a while and since the download, I also hadn't updated it. The debugger used to work but no longer works. I tried to finally update PyCharm but it didn't fix anything sadly.

the error:

Traceback (most recent call last):
File "C:\Program Files\JetBrains\PyCharm 2020.2\plugins\python\helpers\pydev\_pydevd_bundle\pydevd_process_net_command.py", line 901, in process_net_command
py_db.writer.add_command(cmd)
File "C:\Program Files\JetBrains\PyCharm 2020.2\plugins\python\helpers\pydev\_pydevd_bundle\pydevd_comm.py", line 357, in add_command
self.cmdQueue.put(cmd)
AttributeError: 'Queue' object has no attribute 'put'
Traceback (most recent call last):
File "C:\Program Files\JetBrains\PyCharm 2020.2\plugins\python\helpers\pydev\_pydevd_bundle\pydevd_process_net_command.py", line 901, in process_net_command
py_db.writer.add_command(cmd)
File "C:\Program Files\JetBrains\PyCharm 2020.2\plugins\python\helpers\pydev\_pydevd_bundle\pydevd_comm.py", line 357, in add_command
self.cmdQueue.put(cmd)
AttributeError: 'Queue' object has no attribute 'put'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Program Files\JetBrains\PyCharm 2020.2\plugins\python\helpers\pydev\_pydevd_bundle\pydevd_comm.py", line 320, in _on_run
self.process_command(cmd_id, int(args[1]), args[2])
File "C:\Program Files\JetBrains\PyCharm 2020.2\plugins\python\helpers\pydev\_pydevd_bundle\pydevd_comm.py", line 335, in process_command
self.process_net_command(self.global_debugger_holder.global_dbg, cmd_id, seq, text)
File "C:\Program Files\JetBrains\PyCharm 2020.2\plugins\python\helpers\pydev\_pydevd_bundle\pydevd_process_net_command.py", line 919, in process_net_command
py_db.writer.add_command(cmd)
File "C:\Program Files\JetBrains\PyCharm 2020.2\plugins\python\helpers\pydev\_pydevd_bundle\pydevd_comm.py", line 357, in add_command
self.cmdQueue.put(cmd)
AttributeError: 'Queue' object has no attribute 'put'
Can't process net command: 501 1 0.1 WIN

Process finished with exit code -1073741510 (0xC000013A: interrupted by Ctrl+C)

 

Thanks already

0
1 comment

Do you have a queue.py file in your project?

There is a known problem with debugger breaking when there is a module that shadows the standard module https://youtrack.jetbrains.com/issue/PY-23615

1

Please sign in to leave a comment.