2

What are some good tools you use to debug a .NET assembly load failure that has native dependencies. I have used fusion logger (FUSLOGVW.exe) and ProcMon but they haven't helped me much. Any other tools that are useful?

Thanks, Mohammed

Jens Björnhager
  • 5,632
  • 3
  • 27
  • 47
Mohammed Ali
  • 1,027
  • 1
  • 9
  • 16
  • Both tools are entirely sufficient to diagnose any kind of load failure. Fuslogvw.exe for managed dependencies, ProcMon for native ones. Nobody ever thought of writing another one when these two get the job done so well. Afaik. – Hans Passant May 05 '12 at 00:44
  • Obviously I have been using them incorrectly :). Any pointers on how to use both efficiently? – Mohammed Ali May 05 '12 at 01:24
  • I ended up attaching the process to Visual Studio and set it to break on all exceptions. The issue turned out to be a "load from remote sources error". How could I have figured this out from Fusion Logger or Proc Mon? – Mohammed Ali May 05 '12 at 01:26

1 Answers1

2

The only other tool I found that was a bit helpful was Dependency Walker. After downloading it, use this tutorial to help you get started.

Mohammed Ali
  • 1,027
  • 1
  • 9
  • 16