I am using Visual Studio 2015 Update 1 Immediate Window to see some objects' memory layout.
First, I created a Console Application Project and changed the Project Properties: checked the Enable native code debugging
check box at the Debug
tag. Second, I checked Tools → Options → Debugging → Use Managed Compatibility Mode
. At last, I typed load sos.dll
in the Immediate Window, after a while I get this output like this:
Error during command: Warning. Extension is using a callback which Visual Studio does not implement.
Error during command: Exception c0000005 occurred at 2A667BA6
I really don't know how to solve this problem and what is the meaning...
On the Debug menu, choose Windows > Immediate.
There is no Immediate Window unlike Visual Studio in VSCode. But you can still execute Javascript in VSCode. Open the JavaScript file in VSCode, then use shortcut Ctrl + Alt + N , the code will run and the output will be shown in the Output Window.
You can find it in C:\WINDOWS\Microsoft.NET\Framework\v4. 0.30319\sos. dll path. To get SOS automatically downloaded you need to have the Microsoft symbol servers set up in the _NT_SYMBOL_PATH environment variable.
I've recently got the same exact error message. It seems that Visual Studio tries to load wrong SOS.dll by default.
I loaded an earlier version of this dll, and now it works fine. Try this:
.load C:\Windows\Microsoft.NET\Framework\v2.0.50727\sos.dll
If this folder not exist in your machine, try another version, which is available.
Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With