This extension will allow Visual Studio to open and convert pdb into a vcxproj. The converted project will load as a normal VC project and provide IDE features such as tag browsing, intelli-sense and object browsing. This is extension will be useful when your build system is not based on vcxproj files. “PDB Project” is still in development with many features to add. At the moment, the tool can only handle native sources.
You get the PDB tool as a VSIX extension for Visual Studio – Just double click the VSIX and the extension should get installed into Visual Studio. Now user can find “PDB project” as one of the extensions undertools->Updates and Extensions. Also when user says open->Project/Solution, *.pdb will be listed as one of the supported project file formats. Choose the relevant PDB and click open, user will see that a UI will be presented displaying all the files from the PDB. Some files might be automatically resolved to the same location on the disk. But user can also provide “Folder Mapping” with the UI, i.e. map the folders found in the PDB to other locations (say a remote location where the source files reside). Once user resolves all the required files and hit OK, your vcxProj file will be generated. This can opened in the IDE like a regular project file and user can enjoy all IDE features including intellisence and debugger.
The version 2.0 has the following useful new features:
Starting with version 2.0, the extension is integrated into the Visual Studio debugger. If you right-click on a row in the Call Stack window during a Visual Studio debug session, you will now have an option to generate a project from the associated .pdb. The generated project will silently be loaded into the current solution, in order to avoid having too many unwanted projects in the solution. This is most useful while debugging unfamiliar code: in a few minutes, you can have complete Browsing and IntelliSense information for every stack frame of the program that you’re debugging.
Command line tool: In addition to the UI based tool, the latest update has a command line tool which enables users to automate their conversion tasks. To use the command line exe tool, rename the vsix to .zip and extract the contents.
Refresh Feature: Whenever the user opens a PDB-generated project, the user will get a prompt to re-generate the project if the .pdb from which it was generated has changed. Also, if you right click in Solution Explorer on a project that was generated from a .pdb, you will see an option to “Refresh PDB project”.