PyDev.Debugger icon indicating copy to clipboard operation
PyDev.Debugger copied to clipboard

Cannot connect to pydev debugger

Open ritamcouchbase opened this issue 8 years ago • 2 comments

Installed Pycharm community 2016. Setup few debug points in pycharm run the program out of pycharm attach the debugger to the process Following output is shown: Attaching to a process with PID=61893 /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevd_attach_to_process/attach_pydevd.py" --port 50137 --pid 61893 Attaching with arch: i386:x86-64 Running: lldb --no-lldbinit --script-language Python -o 'process attach --pid 61893' -o 'command script import "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevd_attach_to_process/linux/lldb_prepare.py"' -o 'load_lib_and_attach "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevd_attach_to_process/attach_x86_64.dylib" 0 "import sys;sys.path.append("/Applications/PyCharm CE.app/Contents/helpers/pydev");sys.path.append("/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevd_attach_to_process");import attach_script;attach_script.attach(port=50137, host="127.0.0.1");" 0' -o 'command script import "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevd_attach_to_process/linux/lldb_threads_settrace.py"' -o 'process detach' -o 'script import os; os._exit(1)' Running lldb in target process.

--- Expected that next step will be to attach to debugger. There is a thread dump created in log folder. attached

Python 2.7 MacOS Yosemite lldb -lldb-300.2.51

threadDumps-20160725-180747-PC-162.1237.1.zip

ritamcouchbase avatar Jul 26 '16 06:07 ritamcouchbase

Did you find a solution for this?

optimus-kart avatar Jul 26 '17 16:07 optimus-kart

I am facing the same issue.

Were you able to solve this.

Can you help please?

DhruvAwasthi avatar Jul 11 '21 06:07 DhruvAwasthi