Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a setting to show assemblies as they are loaded during debugging in Visual Studio?

I believe there is a setting (or combination of settings) in Visual Studio that allow you to see in the Immediate Window (or Output Window, I can't remember which), the timestamp and name of an assembly as it is loaded while debugging. I used to have this switched on as it is very useful for finding performance issue areas. Sadly however, when VS recently decided to undock all my windows for no good reason, I had to reset my VS settings and have now lost this.

I can't find for the life of me which setting it was that I had switched on.

Any help appreciated.

like image 848
Dib Avatar asked Feb 07 '11 13:02

Dib


People also ask

How do I see loaded symbols in Visual Studio?

In Visual Studio, open Tools > Options > Debugging > Symbols (or Debug > Options > Symbols).

How do I view assemblies in Visual Studio?

In Visual Studio it is easy to view the assembly code and step through it with the debugger. Just place a breakpoint in the C++ code and run the program in Debug mode. When the debugger stops at the breakpoint switch to the assembly mode by choosing Debug → Windows → Disassembly.

How do I set Debug configuration in Visual Studio?

In Solution Explorer, right-click the project and choose Properties. In the side pane, choose Build (or Compile in Visual Basic). In the Configuration list at the top, choose Debug or Release. Select the Advanced button (or the Advanced Compile Options button in Visual Basic).

How do I view execution steps in Visual Studio?

Begin code stepping by selecting F10 or F11. Doing so allows you to quickly find the entry point of your app. You can then continue to press step commands to navigate through the code. Run to a specific location or function, for example, by setting a breakpoint and starting your app.


2 Answers

Apart from reading Debug output messages in Output window, you can also use Modules Window (at least in Visual Studio 2013) which gives you a nice searchable list of loaded modules with various additional details:

Debug -> Windows -> Modules modules window screenshot

like image 154
Isantipov Avatar answered Nov 17 '22 03:11

Isantipov


In the Output window, change the "Show output from" combo to Debug if necessary. Right-click the window and tick "Module load messages". And any others you might want to see.

like image 24
Hans Passant Avatar answered Nov 17 '22 04:11

Hans Passant