Search code examples
c#.netdebuggingpdb-files

show definition (browse) in *.pdb of *.dll file


I have built a Library project (DLL) in .NET. And sometimes I use the DLL along with its PDB file as a reference in some other projects.

Now in the new project, I cant browse through the code of the DLL to debug. I can only see the definitions of class/methods/variables. That's by using "show definition" by browsing through the "class view"

However, only in case of an exception I the contents of the DLL opens and I could see the entire code of the DLL from the new project.

How could I see the contents (code) of the DLL before an exception occur?


Solution

  • If you just need to browse the code, load the dll up in Reflector -- you don't even need the PDB file: http://www.red-gate.com/products/reflector/