views:

157

answers:

1

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

+1  A: 

You need the source code in order to generate a PDB.

Darin Dimitrov
In other words: it's not possible to create a PDB when all you have is the DLL.
Stephen Cleary
yep, that's how it is.
Darin Dimitrov
Well, I can use Reflector to get the source, so what I need to get the PDB?
BrunoLM
Remember that you don't get the same source as the one used to compile the DLL. It's a nightmare if there are lambda expressions, iterators, ... not even to mention obfuscation. But suppose that you have some source code, you supply the /pdb option to the compiler (http://msdn.microsoft.com/en-US/library/ms228625(v=VS.80).aspx).
Darin Dimitrov