go-delve / delve

Delve is a debugger for the Go programming language.
MIT License
22.38k stars 2.13k forks source link

proc: catch panics when reading debug info for stripped executables #3678

Closed aarzilli closed 4 months ago

aarzilli commented 4 months ago

Adds a recover to the functions reading debug info from the go runtime data structures for stripped executables.

This function is best-effort and can sometimes fail in weird ways, instead of crashing recover any panic and turn them into errors.

Fixes #3650