Debugger gives "Could not find thread pid" error with Jython

Answered
When trying to pause the debugger connected to a running Jython (2.5.2) instance (using pydev.pydevd.settrace), the debugger gives the following error when I try to suspend execution:

Could not find thread pid9692_seq3
Available: ['pid9692_seq2', 'pid9692_seq3', 'pid9692_seq5', 'pid9692_seq4']
Could not find thread pid9692_seq5
Available: ['pid9692_seq2', 'pid9692_seq3', 'pid9692_seq5', 'pid9692_seq4']


This doesn't make any sense to me as the threads it is looking for are clearly in the available list.  Any help would be greatly appreciated.
0
10 comments
I encounter the same problem trying to debug a Flask application with standard Python (CPython).

Environment:
  • Intel® Core™2 Duo CPU E8500 @ 3.16GHz × 2
  • Ubuntu 14.04
    - virtual environment
  • PyCharm CE 3.4.1
  • Oracle JDK 1.8.0_11-b12 amd64

Could not find thread pid19220_seq7
Available: ['pid19213_seq2', 'pid19213_seq3', 'pid19213_seq1', 'pid19213_seq4', 'pid19213_seq5']

I have no idea how to check if these threads exist or not, like David did ...
0

Getting the same message in PyCharm 2017.3.3

0

Hi,

Is it possible to try it in 2018.2.4 version?

It looks similar to the old issue https://youtrack.jetbrains.com/issue/PY-14633, though not identical.

If problem remains please restart IDE, reproduce the problem and upload your logs folder zipped (Help | Show Log in...) to https://uploads.services.jetbrains.com/ and let us know the name of the zip file. 

0

I am seeing it with pycharm 2019.1.
test_qos_load begin.
Could not find thread pid_10549_id_140308060484720
Available: ['pid_10549_id_140308503833568', 'pid_10549_id_140308425763024', 'pid_10549_id_140308083089024', 'pid_10549_id_140308061563144', 'pid_10549_id_140308083254104', 'pid_10549_id_140308061516240', 'pid_10549_id_140308083087848', 'pid_10549_id_140308061518144', 'pid_10549_id_140308060971808', 'pid_10549_id_140308094730024', 'pid_10549_id_140308083259992', 'pid_10549_id_140308061516856', 'pid_10549_id_140308061589632', 'pid_10549_id_140308083254832', 'pid_10549_id_140308061314464', 'pid_10549_id_140308061389040', 'pid_10549_id_140308083255840', 'pid_10549_id_140308061351776', 'pid_10549_id_140308072393360', 'pid_10549_id_140308061562584', 'pid_10549_id_140308060511536', 'pid_10549_id_140308061356552', 'pid_10549_id_140308072325752', 'pid_10549_id_140308061501368', 'pid_10549_id_140308083257128', 'pid_10549_id_140308072325304', 'pid_10549_id_140308061726032', 'pid_10549_id_140308061519208', 'pid_10549_id_140308061563312', 'pid_10549_id_140308083254664', 'pid_10549_id_140308425763528', 'pid_10549_id_140308425157712', 'pid_10549_id_140308061727880', 'pid_10549_id_140308061564712', 'pid_10549_id_140308061591032', 'pid_10549_id_140308083086448', 'pid_10549_id_140308083085440', 'pid_10549_id_140308061518536']
Could not find thread pid_10549_id_140308060958336
Available: ['pid_10549_id_140308503833568', 'pid_10549_id_140308425763024', 'pid_10549_id_140308083089024', 'pid_10549_id_140308061563144', 'pid_10549_id_140308083254104', 'pid_10549_id_140308061516240', 'pid_10549_id_140308083087848', 'pid_10549_id_140308061518144', 'pid_10549_id_140308060971808', 'pid_10549_id_140308094730024', 'pid_10549_id_140308083259992', 'pid_10549_id_140308061516856', 'pid_10549_id_140308061589632', 'pid_10549_id_140308083254832', 'pid_10549_id_140308061314464', 'pid_10549_id_140308061389040', 'pid_10549_id_140308083255840', 'pid_10549_id_140308061351776', 'pid_10549_id_140308072393360', 'pid_10549_id_140308061562584', 'pid_10549_id_140308060511536', 'pid_10549_id_140308061356552', 'pid_10549_id_140308072325752', 'pid_10549_id_140308061501368', 'pid_10549_id_140308083257128', 'pid_10549_id_140308072325304', 'pid_10549_id_140308061726032', 'pid_10549_id_140308061519208', 'pid_10549_id_140308061563312', 'pid_10549_id_140308083254664', 'pid_10549_id_140308425763528', 'pid_10549_id_140308425157712', 'pid_10549_id_140308061727880', 'pid_10549_id_140308061564712', 'pid_10549_id_140308061591032', 'pid_10549_id_140308083086448', 'pid_10549_id_140308083085440', 'pid_10549_id_140308061518536']

0
Hello, Where and when do you see this? Please provide screenshots showing the issue and idea.log https://intellij-support.jetbrains.com/hc/en-us/articles/207241085
0

I am seeing it too with pycharm 2019.1.2.  I've got the logs in a zip file, but don't see a way to attach.

0

@Chlam4

Please upload it to https://uploads.services.jetbrains.com/ and let me know the name of the file. Please also share a screenshot showing the issue or include it into your zip file.

0

Just uploaded and the name of the file is "pycharm-logs-20190530-133711.zip".

Unfortunately, I'm unable to reproduce it after a bunch of changes on my side, so can't capture a screenshot at the moment.  But the error is pretty much similar to what other folks had posted above.  When I see it again, I will capture a screenshot (and the logs again).

0

Getting the same message in PyCharm 2019.1.3,what happend?

0

@贾建云

Please reproduce the issue and upload your logs to our FTP

https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files

https://uploads.services.jetbrains.com/

Also, provide your code snippet and steps to reproduce.

0

Please sign in to leave a comment.