Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Step into another assembly?

Tags:

c#

.net

debugging

In Visual Studio, is it possible to step into a loaded assembly when you don't have both solutions open?

That is to say, I have two solutions, and I'm trying to find a bug that only shows up in the the second one. The second one references the assemblies output from the first.

How would I load the symbols from that assembly?

like image 840
John Gietzen Avatar asked Dec 17 '25 22:12

John Gietzen


2 Answers

Yes, if you have the pdb in the same folder as the dll, or a symbol server.

Note that "reflector pro" (currently in preview) also offers the ability to do this (still inside VS) by decompiling the second dll on-demand

like image 91
Marc Gravell Avatar answered Dec 20 '25 13:12

Marc Gravell


The debugger will load the referenced assemblies automatically... all you need to verify is that the .pdb's are in the same folder as the assemblies, and the debugger should prompt you for the location of the source files...

like image 27
John Weldon Avatar answered Dec 20 '25 11:12

John Weldon



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!