10

I have a web project, A, that references a DLL, B, that I would like to debug. I have the DLL source code in a separate solution. Is it possible to step into the dll code without adding the dll project to my A solution?

Thanks!

FGA

JaredPar
  • 733,204
  • 149
  • 1,241
  • 1,454
FGA
  • 101
  • 1
  • 1
  • 3

2 Answers2

10

Yes it is. You will need to disable Just My Code to enable this scenario though

  • Tools -> Options
  • Go to the Debugger section
  • Uncheck "Enable Just My Code ..."

You may still have to manually load symbols but after that you will be able to step into your other source code.

JaredPar
  • 733,204
  • 149
  • 1,241
  • 1,454
3

Have a look at this similar question: --> How to debug a referenced dll (having pdb)

Copy the .dll and .pdb files from your other solution into the bin/ folder of the web project that you're trying to debug. When you run it, it should let you step into the referenced code now. I just did this to debug a referenced membership provider and it worked.

Community
  • 1
  • 1
Pandincus
  • 9,506
  • 9
  • 43
  • 61