Hello Dear Developers and Users,
OS: Ubuntu 22.04.3 LTS
Slicer: 5.0.2 r30822
PyCharm: 2021.3 (Professional Edition)
First, I must mention that unfortunately, I am unable to set the PyCharm debug egg file path in the latest version of 3DSlicer, which is 5.6.2. I raised this issue in my previous report. As a result, I had to switch to 3DSlicer version 5.0.2 that have this setting.
I am following the steps mentioned on the GitHub site regarding the SlicerDebuggingTools module. As shown in the image below, I have configured the PyCharm settings.
I am following the steps mentioned on the GitHub site regarding the SlicerDebuggingTools module. As shown in the image below, I have configured the PyCharm settings.
I have also configured the settings in 3DSlicer.
As you can see, the .egg
file is located at the following path on my system:
/home/sn/pycharm-2021.3/debug-eggs/pydevd-pycharm.egg
Next, I started the Debug Slicer remote debugger in PyCharm.
PyCharm screenshot:
In 3DSlicer, I clicked on “Connect to PyCharm Server.”
As you can see, I am encountering the following error:
Expected: /home/sn/pycharm-2021.3/debug-eggs/pydevd-pycharm.egg/pydevd_attach_to_process/attach_linux_amd64.so to exist.
I should mention that the compressed file pydevd-pycharm.egg
located at
/home/sn/pycharm-2021.3/debug-eggs/
contains the pydevd-pycharm.egg
file. To investigate this, I extracted the pydevd-pycharm.egg
file.
I realized that egg packages can be installed with pip, but it still wasn’t helpful as see below:
Please guide me to solve it. I want to develop and debug my modules in PyCharm.
Best regards.
Shahrokh.