
Stewart Smith wrote:
On Tue, 29 May 2012 23:09:32 +1000, Julien Goodwin <luv- lists@studio442.com.au> wrote:
Ubuntu at least does this by storing all symbols for all relevent package versions "in the cloud" so you can use when needed. I think Debian were planning to deploy this as well, but I've no idea if that happened.
FWIW the "in the cloud" is how Microsoft has stored symbols for most of the Windows stack for at least 10 years.
Basically, debuggers can download them on demand - kind of useful if you find yourself in WinDBG (which I swear is where I've spent the majority of my Windows using time in the past decade).
You can download them on-demand in Debian, too. They're the -dbg packages. (Well, OK, you need to have enabled core dumps in advance, or to rerun the app. So probably not as awesome as what you describe in windbg.)
The reason why they're separate packages, and not installed by default, is because they're a non-negligible increase in size. To take an example at random:
If done properly, the dbg builds would have various compiler optimisations turned off too. Under Windows, a debug ('checked') build includes all the ASSERTS and DebugPrint messages too which are stripped out in the 'free' build. James