Reputation: 55469
I'm having problems with a dll that I downloaded from somewhere. How can I look inside the dll to debug it?
Upvotes: 0
Views: 538
Reputation: 49599
If it is a managed dll you can debug it with .NET Reflector Even without the symbols and without the source code. There you can
- Decompile third-party assemblies from within VS
- Step through decompiled assemblies and use all the debugging techniques you would use on your own code
Upvotes: 1
Reputation: 9784
You can use a program like DLL Export Viewer to view DLL files.
But as lulian pointed out you can not debug it, unless you have sources or pdb file...
Upvotes: 1
Reputation: 62096
You don't say, but if it's a .NET assembly dll you could use the disassembly tool in Reflector to view reversed source code.
Upvotes: 2
Reputation: 10820
If it doesn't have debug information then it's no use (usually DLLs are shipped in the "Release" version - which usually means that Debug information is not available). In order to actually debug you must also have the sources.
Upvotes: 1