Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why are the debugger memory windows not available in VS 2015?

The Visual Studio Debugger has those memory windows, to inspect raw memory. In Visual Studio 2015, these still exist, since there are commands associated (ok, and the docu says so). They do not show up however.

In the menu, Debug->Windows->.... there are no Memory Windows (4 should be) Moreover, the keyboard shortcut for the Commands Memory1 ... Memory4 replies

"the key combination ...... is bound to a command (Memory 1) which is not currently available"

I tried this in C# but also in a Win32 C++ console app. Is this a bug?

like image 391
citykid Avatar asked Dec 20 '22 01:12

citykid


1 Answers

From the MSDN page on the Memory Windows

The Memory window is available only if address-level debugging is enabled in the Optionsdialog box,Debugging node. The Memory window is not available for Script or SQL, which are languages that do not recognize the concept of memory.

I can confirm that if you do not have "Address-level debugging" checked the option is hidden but if you have it checked the option is shown.

enter image description here

(Without the option checked)
enter image description here

(Same debugging session, after the option was checked)
enter image description here

It appears that Disassembly and Registers also shows up when address mode debugging is enabled.

like image 145
Scott Chamberlain Avatar answered Dec 28 '22 22:12

Scott Chamberlain