[feature request] Option for installer to download debugging symbols at the installation time and provide instructions on how to make them available for `gdb`
- Dominant language
- C#
- Stars
- 3.2k
- Forks
- 1.3k
- PR merge metrics
- PR metrics pending
Description
I am installing .NET as `wget https://dot.net/v1/dotnet-install.sh && bash dotnet-install.sh --channel 7.0`
but then one cannot debug a basic SEGFAULTs with `gdb`:
- https://github.com/dotnet/runtime/discussions/106258
I'm proposing to introduce two command-line options for installer which would:
1. download symbols for all installed `.so` and native binaries - quite common need for dev environment
2. install a debug, unoptimized version of CoreCLR binaries along with symbols
It would also be good to include a `dotnet-symbol` utility by default (especially if it's a small footprint) - it's very useful for dev environment, and figuring that one needs to [`dotnet install` it](https://github.com/dotnet/diagnostics/blob/main/src/Tools/dotnet-symbol/README.md) separately is one more nuisance step :(
Getting some basic stacktraces from gdb right is important (even if SOS tools are only available in lldb)
Thanks!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.