Visual Studio doesn't show names of loaded assemblies

When starting a C # project from Visual Studio and viewing the debug output, you can see exactly when each assembly is loaded. (right click on debug output window, check "display module load messages")

From screenshots and other questions on StackOverflow, I know that there should be a message for each assembly containing the name of that assembly.
However, on my computer most of the time, all I get is an unnamed download of messages. The name is missing.

I can see the names of all loaded modules when I go to the Modules window (Debug menu, select Windows and then Modules.)

How can I get the names appearing in the output window? It works on rare occasions, but I was unable to reproduce the circumstances.

Here are the three types of assembly load messages I can see in the debug output window (sorry German)

"MyProgram.vshost.exe" (Verwaltet): "Verwaltet" wurde geladen, das Laden von Symbolen wurde übersprungen. Das Modul ist optimiert, und die Debugoption "Nur eigenen Code" ist aktiviert.
"MyProgram.vshost.exe" (Verwaltet): "Verwaltet" geladen, Symbole geladen.
"MyProgram.vshost.exe" (Verwaltet): "Verwaltet" wurde geladen

      

Here is a rough translation into English

'MyProgram.vshost.exe' (Managed): Loaded 'Managed'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'MyProgram.vshost.exe' (Managed): Loaded 'Managed', loaded symbols.
'MyProgram.vshost.exe' (Managed): Loaded 'Managed'

      


Here is the result I would expect:

'Example.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\IdeaBlade.UI.WinForms.DevExpressControls.v2_2_0\3.6.7.1__287b5094865421c0\IdeaBlade.UI.WinForms.DevExpressControls.v2_2_0.dll'
'Example.vshost.exe' (Managed): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Example.vshost.exe' (Managed): Loaded 'C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\QTAgent32.exe', Symbols loaded.
'Example.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Example.vshost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.QualityTools.ExecutionCommon\10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll', Symbols loaded.

      

The assembly paths and names in the above log are something that is missing from my computer.

(Visual Studio 2008 Professional Edition)

+3


source to share


1 answer


  • Can you check if the message download function is enabled "

    You can find it at: Tools -> Options -> Debugging -> Output Window -> Shared Output Settings -> Module Load Messages

  • Tools -> Options -> Debugging -> General -> Include only my code (managed only)



+1


source







All Articles