Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why I can not find "Debug Managed Memory" on Actions menu?

Why I can not find "Debug Managed Memory" on Action menu as described at this MSDN article: Analyze .NET Framework memory issues?

My Visual Studio: enter image description here

How it is supposed to look: enter image description here

like image 220
Vinicius Rocha Avatar asked Jan 20 '14 18:01

Vinicius Rocha


People also ask

How do I debug memory dump in Visual Studio?

To debug kernel-mode dump files or use the SOS. dll debugging extension in Visual Studio, download the debugging tools for Windows in the Windows Driver Kit (WDK). Visual Studio can't debug dump files saved in the older, full user-mode dump format. A full user-mode dump is not the same as a dump with heap.

How do I read a .DMP file in Visual Studio?

To open a dump file using Visual Studio: In Visual Studio, from the File menu, choose Open | Crash Dump . Navigate to the dump file you want to open. Select Open.

What is a dump file used for?

A dump file is a snapshot of an application at the point in time the dump is taken. It shows what was executing, what modules are loaded, and if saved with heap, contains a snapshot of what was in the application's memory at that point in time.


1 Answers

In one of the related articles, two requirements are mentioned (emphasis added):

Before I begin, there are a few things to note about the "Debug Managed Memory" feature discussed in this post:

  1. The option will only be available from the dump summary page in the Ultimate version of Visual Studio 2013. If you are using Premium or Professional you will not see the option.
  2. The process the dump file was collected against must have been running on .NET 4.5 or higher. If the dump was collected on 3.5 or previous the option will not appear, if it was collected on 4.0 it will fail to launch with an error message.
like image 189
Mike Zboray Avatar answered Oct 07 '22 20:10

Mike Zboray