Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Generate PDB from .NET DLL file?

I need something that can generate a PDB from a DLL file (C# .NET code), is there any free program to do that?

like image 416
BrunoLM Avatar asked May 18 '10 16:05

BrunoLM


People also ask

What is PDB file with DLL?

Program database (PDB) is a file format (developed by Microsoft) for storing debugging information about a program (or, commonly, program modules such as a DLL or EXE). PDB files commonly have a . pdb extension. A PDB file is typically created from source files during compilation.

What is .NET PDB file?

A PDB file is an auxiliary file produced by a compiler to provide other tools, especially debuggers, information about what is in the main executable file and how it was produced. For example, a debugger reads a PDB to map foo. cs line 12 to the right executable location so that it can set a breakpoint.


1 Answers

Actually you can do it also with dotPeek from 1.2 version onward.

Right click the assembly in Assembly Explorer, and select "Generate Pdb". It also has the option to generate files for referenced assemblies all at once.

enter image description here

like image 85
Stelio Avatar answered Oct 06 '22 21:10

Stelio