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

Debugging docs for rust-gdb #2345

Closed
cjermain opened this issue Apr 29, 2022 · 2 comments · Fixed by #2361
Closed

Debugging docs for rust-gdb #2345

cjermain opened this issue Apr 29, 2022 · 2 comments · Fixed by #2361

Comments

@cjermain
Copy link
Contributor

Since PyO3 uses cdylib for Python shared objects, it does not receive the pretty-print debug hooks in rust-gdb (rust-lang/rust#96365). I think adding information about this to the debugging documentation for PyO3 would help avoid confusion as to why pretty printers are not loaded. I'm happy to update the docs when I get a chance.
https://github.com/PyO3/pyo3/blob/main/guide/src/debugging.md#L38

@davidhewitt
Copy link
Member

Thanks for sharing! It sounds like this is potentially something that upstream rustc might fix one day?

@cjermain
Copy link
Contributor Author

cjermain commented May 1, 2022

That is my hope. I'm not sure the right way to get visibility on the upstream issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants