4 ms·
Another related capability you can use when indexing PDBs for a build is the "source server". It tags the pdb with source control commands to retrieve the sourc
by muststopmyths 6y ago
Another related capability you can use when indexing PDBs for a build is the "source server". It tags the pdb with source control commands to retrieve the source revision at the time of building. Enable the feature in the debugger and you don't have to manually retrieve the right source code when you get a crash dump from a customer for an old version of your software.
It embeds executable source control commands in the PDB so you need to make sure you know where your PDBs come from.
Reference:https://docs.microsoft.com/en-us/windows/win32/debug/source-server-and-source-indexing https://docs.microsoft.com/en-us/windows/win32/debug/source-...
- brucedawson 6y agoOh absolutely. Source-server/source-indexing is amazing. I use it dozens of times a week when debugging Chrome crash dumps. It's amazing when the correct version of the relevant source code just magically appears. I've blogged about this as well, of course: https://randomascii.wordpress.com/2011/11/11/source-indexing-is-underused-awesomeness/ https://randomascii.wordpress.com/2011/11/11/source-indexing... As you say, knowing the provenance of your PDBs is important. That's part of why I pushed hard for https symbol servers a few years back. Don't ever use http: for a symbol server.