Visual Studio 在调试时显示虚拟地址还是物理地址? [英] Does visual studio show virtual or physical address while debugging?

查看:96
本文介绍了Visual Studio 在调试时显示虚拟地址还是物理地址?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

调试时显示内存窗口的图片在visual studio中使用内存窗口时,我们看到的是那个进程的虚拟地址还是RAM的物理地址?

Image demonstrating the memory window while debugging When using the memory window in visual studio, do we see the virtual address of that process or the physical address of RAM?

推荐答案

用户级代码总是看到虚拟地址.它无法知道当前对应于这些地址之一的物理地址 (如果有的话!).虚拟"是它生活的唯一世界,也是它唯一知道的世界.对于程序的所有意图和目的,虚拟就是现实."

User-level code always sees virtual addresses. It has no way to know what physical address (if any!) presently corresponds to one of these addresses. "Virtual" is the only world that it lives in, and the only one that it ever knows. For all of a program's intents and purposes, "virtual is reality."

这篇关于Visual Studio 在调试时显示虚拟地址还是物理地址?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆