[feature request] Option for installer to download debugging symbols at the installation time and provide instructions on how to make them available for `gdb` #43174
I'm proposing to introduce two command-line options for installer which would:
download symbols for all installed .so and native binaries - quite common need for dev environment
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 separately is one more nuisance step :(
Getting some basic stacktraces from gdb right is important (even if SOS tools are only available in lldb)
@richlander Could you please transfer this issue to https://github.com/dotnet/sdk? I did not notice at first in the README that sdk repo is the home for new issues... Thanks!
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
:I'm proposing to introduce two command-line options for installer which would:
.so
and native binaries - quite common need for dev environmentIt 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 todotnet install
it 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!