Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.NET Fusion logger: What is the difference between Default and Native Images?

In the .NET fusion logger (FUSLOGVW.exe) what do the two options in the lower right of the screen do?

 Log Categories
  + Default
  + Native Images

And how can I use either one to diagnose a mixed-mode assembly problem?

like image 468
user403830 Avatar asked Jul 28 '10 13:07

user403830


People also ask

What is Fuslogvw?

Fuslogvw is an assembly log viewer and part of the . NET framework. The location on my machine is “C:Program Files (x86)Microsoft SDKsWindowsv7. 0ABin.” The actual location on your machine may vary. Fuslogvw is ran through an elevated command prompt or through explorer and run as administrator.

What is FusionLog?

FusionLog folder is not part of SolarWinds and is a folder created by Microsoft. The way this works is Microsoft has its libraries and we use them as a client. Fusion logging is extra logging that we can sometimes use to see underlying issues that our logs might have not caught.


1 Answers

Native images are the files generated by ngen.exe. It contains pre-compiled machine code for an assembly, so that the JIT compiler isn't needed. All .NET framework assemblies are ngen-ed. They have the .ni.dll filename extension.

You are typically not interested in them if you are trying to troubleshoot an assembly resolution problem. But you can see them getting loaded if you choose "Native Images" instead of "Default".

like image 138
Hans Passant Avatar answered Sep 23 '22 14:09

Hans Passant