Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable debug for python #111

Closed
yssource opened this issue Nov 9, 2013 · 6 comments
Closed

unable debug for python #111

yssource opened this issue Nov 9, 2013 · 6 comments
Assignees
Labels

Comments

@yssource
Copy link

yssource commented Nov 9, 2013

Hi, thanks for your plugin so much. It's very powerful.
I use the tool for debugging php files, everything is OK. But, while I try to debug python scripts according to the document, using the 'python -S ~/bin/pydbgp -k xdebug -d localhost:9001 mvc.py'. It get failed. And get a error lists reporting 'error vim(lcd) E344 Can't find directory "file:/home/jimmy/path2my_mvc.py" in cdpath'

In addition, my pydbgp is Komodo-PythonRemoteDebugging-8.5.2-82628-linux-x86_64.

screenshot from 2013-11-09 18 41 50

--Best regards
--Jimmy.

@ghost ghost assigned joonty Nov 10, 2013
@joonty
Copy link
Collaborator

joonty commented Nov 11, 2013

Hi,

You might like to try updating to the latest version, that I released today. This has a fix for the very problem you're experiencing.

Thanks

@yssource
Copy link
Author

Thanks for the latest version. Now, I can invoke the cmd line for debugging python now.
But, after the session finished, the cmd line still hangs on there. I have to kill the process and re-invoke the cmd line again to start a new debug session.

@NewWorld
Copy link

@Jimmy-M-G When the session has finished, have you tried hitting F6 a few times? That "released" the command line in the older version sometimes.

@joonty
Copy link
Collaborator

joonty commented Nov 27, 2013

This is strange. @Jimmy-M-G could you let me know which Python version you're using? I'll try and reproduce it.

@yssource
Copy link
Author

This is my script /tmp/test.py, and using 'Komodo-PythonRemoteDebugging-8.5.2-82628-linux-x86_64'

#!/bin/python
import sys
print(sys.version)

I set a breakline at line print(sys.version).
pressing 'F5' to start a new session, and then call 'python -S ~/bin/pydbgp -k xdebug -d localhost:9001 ./test.py'
pressing 'F5' again to run. After the session get finished, the command line still hangs there.

screenshot from 2013-11-28 00 33 27

If I press 'F6' to terminate the session during debugging, the command line will be successfully released. But, if the session has ended, it's still unable to release the command line though pressing 'F6'.

@joonty
Copy link
Collaborator

joonty commented Jan 20, 2014

I've managed to reproduce this, and it seems to be specific to the Komodo Python debugger version 8+. They seem to have trouble holding to dbgp standards sometimes, but I'll have a dig and see whether there's any specific hack I can add.

Thanks

@BlackIkeEagle BlackIkeEagle removed this from the Version 2.0.0 milestone Mar 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants