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

Debug formatting could be improved #1822

Open
gretchenfrage opened this issue Apr 15, 2024 · 1 comment
Open

Debug formatting could be improved #1822

gretchenfrage opened this issue Apr 15, 2024 · 1 comment

Comments

@gretchenfrage
Copy link
Contributor

For example, when trying to print a quinn::Endpoint, when it gets to recv_buf, it just prints a list of many many integers with little discernible meaning. Possibly would be worth looking for a crate that enhances derive debugging with the ability to attribute structs with fields to ignore rather than doing it manually.

@djc
Copy link
Collaborator

djc commented Apr 15, 2024

I don't think we want to drag in an additional dependency for this. But having a manual Debug impl that's more discerning than whatever we've got now would probably be helpful!

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