py2.py3-none-any wheels include pyd files with missing symbols
rzhao271 opened this issue · 2 comments
rzhao271 commented
Before creating a new issue, please check the FAQ to see if your question is answered there.
Environment data
- debugpy version: debugpy-1.8.5-py2.py3-none-any.whl
- OS and version: Windows 11
- Python version (& distribution if applicable, e.g. Anaconda): N/A
- Using VS Code or Visual Studio: N/A
Actual behavior
After extracting the wheel, I notice there are no PDB files for pydevd_frame_evaluator.cp39-win_amd64.pyd and pydevd_cython.cp39-win_amd64.pyd.
Expected behavior
After extracting the wheel, PDB files should either be there for pydevd_frame_evaluator.cp39-win_amd64.pyd and pydevd_cython.cp39-win_amd64.pyd, or symbols for those pyd files should be available for downstream consumption.
Steps to reproduce:
- Download debugpy-1.8.5-py2.py3-none-any.whl from https://pypi.org/project/debugpy/1.8.5/#files
- Rename the .whl to .zip and extract it
- In a pwsh terminal, change the directory into the extracted folder and run
Get-ChildItem -Path . -Filter "*.pdb" -Recurse
andGet-ChildItem -Path . -Filter "*.pyd" -Recurse
- 🐛 There are no PDB files for pydevd_frame_evaluator.cp39-win_amd64.pyd and pydevd_cython.cp39-win_amd64.pyd.
rchiodo commented
Thanks for the issue but why should we ship pdb files? Seems like unnecessary bloat. If you want to debug the c++ code in debugpy, you can build it locally.
rchiodo commented
1.8.6 should have fixed this. PDB files are there now.