gimli-rs / gimli

A library for reading and writing the DWARF debugging format
https://docs.rs/gimli/
Apache License 2.0
846 stars 108 forks source link

Improve display of errors #717

Open philipc opened 4 months ago

philipc commented 4 months ago

It's hard to figure out what the actual problem is when gimli fails parsing, since the error is bubbled up without much context. Some ideas in https://github.com/gimli-rs/gimli/pull/714 and https://github.com/gimli-rs/gimli/pull/716#issuecomment-2131116634

philipc commented 4 months ago

If this affects performance, it could be made conditional on a config feature.