Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Enable Live Graph in Memory Usage while Debugging in Visual Studio

Somehow I have lost the live graph from my Visual Studio Diagnostic Tool. Below is my current debugging screen showing that I can not see Memory and CPU usage live graph :

enter image description here

enter image description here

Where as I am looking for this :

enter image description here

I tried exploring in following places as well online :

  1. Debug > Profiler > Performance Explorer
  2. Tools > Options > Debugging
  3. Tools > Options > IntelliTrace

Does anybody know how to enable Memory and CPU Usage live graph ?

like image 791
Рахул Маквана Avatar asked Jul 28 '16 18:07

Рахул Маквана


People also ask

How do I display memory in Visual Studio?

Under Debug > Windows > Memory, select Memory 1, Memory 2, Memory 3, or Memory 4. (Some editions of Visual Studio offer only one Memory window.)

How do I run a performance profiler in Visual Studio?

Open the Performance Profiler by choosing Debug > Performance Profiler (or Alt + F2). For more information on using the CPU Usage or Memory usage tool in the Performance Profiler vs. the debugger-integrated tools, see Run profiling tools with or without the debugger.

Which tool do you use to profile application memory usage analysis counters?

Within the Visual Studio performance profiler you will find profiling tools such as CPU Usage, Database, Events Viewer, Memory Usage, dotNET Object Allocation Tracking, . NET Async, . NET Counter and GPU Usage.


3 Answers

There is a ruler you can drag down, above the Events, Memory Usage and CPU Usage Tab, where the live graph was hidden.

like image 129
Jesper Avatar answered Oct 16 '22 16:10

Jesper


I had the same problem and found out that cursor changes on narrow gray line just below window header. Try to click and drag it down. It's hard to notice on bright theme so it may even be harder on dark one. I hope it will help you.

This narrow line hides graph:

enter image description here

like image 22
Pawelotti Avatar answered Oct 16 '22 17:10

Pawelotti


If your Diagnostic Tools Window is closed, you can reopen it by Debug > Windows > Show Diagnostic Tools (Ctrl + Alt + F2)

like image 5
Nishan Avatar answered Oct 16 '22 17:10

Nishan