Reputation: 954
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 :
Where as I am looking for this :
I tried exploring in following places as well online :
Does anybody know how to enable Memory and CPU Usage live graph ?
Upvotes: 26
Views: 20121
Reputation: 4421
If your Diagnostic Tools Window is closed, you can reopen it by Debug > Windows > Show Diagnostic Tools
(Ctrl + Alt + F2)
Upvotes: 8
Reputation: 341
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:
Upvotes: 24
Reputation: 671
There is a ruler you can drag down, above the Events, Memory Usage and CPU Usage Tab, where the live graph was hidden.
Upvotes: 67
Reputation: 21
As Rahul notes, the answer in the blog does not directly fix the issue. I have the same issue and what I've observed is that if you add the existing project to a new solution file, then the real time graphs come back. This isn't quite ideal, but it does provide a work around.
Upvotes: 0
Reputation: 6436
Like this blog here:
and a MSDN document:
https://msdn.microsoft.com/en-us/library/mt125494.aspx
Whenever you want to capture the state of memory, choose "Take snapshot" on the Memory Usage summary toolbar.
For CPU Usage, you need to enable it and then debug it for the next time after a debugger breakpoint was hit.
For example, if I debug an UWP app for the first time, I will got a messages "Enable CPU profiling to see a breakdown of CPU usage by function" under the CPU Usage window, I will click it, and then debug the app for the next time, I will get the CPU Usage.
Upvotes: 0