Generating PDB Files
If you need symbol files elsewhere than in the debugger, dotPeek provides a command to simply generate a PDB file (together with the source files) for any .NET assembly.
When generating symbol files, dotPeek creates the directory structure identical to the Visual Studio symbol cache. Therefore, if you set the Visual Studio symbol cache directory as the output folder, all generated symbols will be automatically available to the Visual Studio debugger. You can get or set the cache directory in Visual Studio Options: .
To generate PDB file for an assembly
- Select the desired assemblies in the Assembly Explorer Window.
- Do one of the following:
- In the PDB Generation dialog that opens, specify the destination folder. Optionally, you can select some more assemblies in the reference hierarchy.
PDB and source files for the selected assemblies are created in the specified destination folder.
You can watch the progress of generating PDB in the Project/PDB Generation Status Window.