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

Fix debug output for various data structures #156

Open
jbaublitz opened this issue Nov 21, 2021 · 0 comments
Open

Fix debug output for various data structures #156

jbaublitz opened this issue Nov 21, 2021 · 0 comments

Comments

@jbaublitz
Copy link
Owner

Would adding this feature cause a breaking change?
For some changes, yes. Others can be included in a patch release.

Is your feature request related to a problem? Please describe.
Debug output is currently very unhelpful for types like flags, buffers, etc.

Describe the solution you'd like
I would like:

I would also like to add better trace logging for buffers during deserialization to help with debugging. Currently there is some buffer debugging but often, the buffers are too large to actually help much. I'd like to use a combination of TypeSize and the usize from FromBytesWithInput to display the buffer that will be parsed for that particular data structure.

This is related to #105 and may end up replacing it.

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

No branches or pull requests

1 participant