4 ms·
But you still need to install those debug symbols yourself, and need to know which exact versions you need, don't you? A better rebuttal to "symbol servers mak
by yorwba 2y ago
But you still need to install those debug symbols yourself, and need to know which exact versions you need, don't you?
A better rebuttal to "symbol servers make debugging on Windows more convenient, because they allow you to open a debug trace from someone else's computer and immediately have symbols available that match the versions installed on their system" would be "here's how to configure your debugger on Linux so it automatically downloads the correct symbols as well."
Edit: I guess the answer is DEBUGINFOD_URLS https://sourceware.org/elfutils/Debuginfod.html https://sourceware.org/elfutils/Debuginfod.html
- PhilipRoman 2y agoIndeed, the process is seamless once you set DEBUGINFOD_URLS (it uses the BUILDID embedded in executable). Many tools now support it, like gdb, valgrind, delve, etc.
- l72 2y agoFedora does it automatically. Run gdb on any binary installed through rpm, and it'll pull down all the debug symbols. Same thing with the problem reporter (gnome-abrt), after a crash, it'll automatically pull down debug symbols if you are going to send a crash dump.