https://bugzilla.redhat.com/show_bug.cgi?id=1982614
Bug ID: 1982614
Summary: eclipse-pydev Does not debug a forked process.
Product: Fedora
Version: 34
Status: NEW
Component: eclipse-pydev
Assignee: extras-orphan(a)fedoraproject.org
Reporter: sebastian.saletnik(a)gmail.com
QA Contact: extras-qa(a)fedoraproject.org
CC: akurtako(a)redhat.com,
eclipse-sig(a)lists.fedoraproject.org,
extras-orphan(a)fedoraproject.org, jjohnstn(a)redhat.com
Target Milestone: ---
Classification: Fedora
Created attachment 1801797
-->
https://bugzilla.redhat.com/attachment.cgi?id=1801797&action=edit
test script
Description of problem:
Does not debug a forked process.
Version-Release number of selected component (if applicable):
eclipse-pydev-8.0.0-2.fc34.x86_64
How reproducible:
Debug script using fork as "Python Run"
Steps to Reproduce:
1. Run Eclipse
2. Create PyDev project
3. Add file test_debug.py
4. Select file test_debug.py
5. right click -> Debug As -> Python Run
Actual results:
Does not debug a forked process.
Breakpoints in the forked process are ignored
Expected results:
Debug a forked process.
Additional info:
Traceback:
File
"/usr/lib/eclipse/droplets/pydev/plugins/org.python.pydev.core_8.0.0.v20201103-1759/pysrc/pydevd_tracing.py",
line 129, in load_python_helper_lib
filename = os.path.join(os.path.dirname(__file__),
'pydevd_attach_to_process', 'attach_linux.so' % (suffix,))
TypeError: not all arguments converted during string formatting
Wrong formatting.
Fixing patch:
@@ -126,7 +126,7 @@
else:
suffix = 'x86'
- filename = os.path.join(os.path.dirname(__file__),
'pydevd_attach_to_process', 'attach_linux.so' % (suffix,))
+ filename = os.path.join(os.path.dirname(__file__),
'pydevd_attach_to_process', 'attach_linux.so')
elif IS_MAC:
if IS_64BIT_PROCESS:
--
You are receiving this mail because:
You are on the CC list for the bug.