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

py2.py3-none-any wheels include pyd files with missing symbols #1651

Closed
rzhao271 opened this issue Aug 13, 2024 · 2 comments
Closed

py2.py3-none-any wheels include pyd files with missing symbols #1651

rzhao271 opened this issue Aug 13, 2024 · 2 comments

Comments

@rzhao271
Copy link

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:

  1. Download debugpy-1.8.5-py2.py3-none-any.whl from https://pypi.org/project/debugpy/1.8.5/#files
  2. Rename the .whl to .zip and extract it
  3. In a pwsh terminal, change the directory into the extracted folder and run Get-ChildItem -Path . -Filter "*.pdb" -Recurse and Get-ChildItem -Path . -Filter "*.pyd" -Recurse
  4. 🐛 There are no PDB files for pydevd_frame_evaluator.cp39-win_amd64.pyd and pydevd_cython.cp39-win_amd64.pyd.
@rzhao271 rzhao271 changed the title any-any wheels include pyd files with missing symbols py2.py3-none-any wheels include pyd files with missing symbols Aug 13, 2024
@rchiodo
Copy link
Contributor

rchiodo commented Aug 13, 2024

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
Copy link
Contributor

rchiodo commented Sep 25, 2024

1.8.6 should have fixed this. PDB files are there now.

@rchiodo rchiodo closed this as completed Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants