Wednesday, November 19, 2008

Creating a Symbol Server for Your PDB Files

Create a shared directory on your server, and give read/write access to the people who are going to be using it. (Developers & build server)

To upload a set of .pdb files use the following as an example:

symstore add /r /f c:\bin\debug\*.pdb /s \\myserver\symbols /t "Boost" /v "1.37.0"

/f - Location of the files to upload
/s - Location of your symbol server directory
/t - Product
/v - Product version

Building Boost PDB files.

Note to self:

To build boost with .pdb files, use the following commandline.

bjam --toolset=msvc --build-type=complete stage debug-symbols=on debug-store=database

Notice in perticular debug-symbols and debug-store options.