Can I use pdb files to step through a 3rd party assembly?

Posted by Pure.Krome on Stack Overflow See other posts from Stack Overflow or by Pure.Krome
Published on 2010-04-29T07:01:15Z Indexed on 2010/04/29 7:07 UTC
Read the original article Hit count: 325

Hi folks,

my friend has made a really helpful class library which I use all the time. I usually use Reflector to see what his code does.

What I really wanted to do was to step through his code while I'm debugging. So he gave me his .pdb file.

  • Foo.dll (release configuration, compile)
  • Foo.pdb

Now, I'm not sure how I can get it to auto break into his code when it throws an exception (his code, at various points, thorws exceptions .. like A first chance exception of type 'System.Web.HttpException' occurred in Foo.dll ...

Can I do this? Do i need to setup something with the Symbol Server settings in Visual Studio ? Do i need to get the dll compiled into Debug Configuration and be passed the .dll and .pdb files? Or (and i'm really afraid of this one) .. do i need to have both the .dll, .pdb AND his source code ...

I also had a look at this previous SO question, but it sorta didn't help (but proof I've tried to search before asking a question).

Can someone help me please?

© Stack Overflow or respective owner

Related posts about visual-studio-2010

Related posts about pdb