Visual Studio - 观察汇编寄存器寻址结构 [英] Visual Studio - Watch of assembly register addressed structure

查看:311
本文介绍了Visual Studio - 观察汇编寄存器寻址结构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在数据部分看到一个结构的实例,但是我无法像


那样调用手表。       MOV      al,[ebx] .mystruct.member


我正在运行VS2015,但我正在尝试帮助的人在VS2017遇到同样的问题。


解决方案

调试器使用C语言样式语法,因此单击上面的行将不起作用。快速计划使用


    (mystruct *)ebx


将显示整个结构,


    ((mystruct *)ebx) - >会员


将显示会员。





I'm able to watch an instance of a structure in the data section, but I'm unable to invoke a watch for something like

        mov     al,[ebx].mystruct.member

I'm running VS2015, but the person I'm trying to help is having the same problem with VS2017.

解决方案

The debugger uses C style syntax, so clicking on a line like above won't work. A quickwatch using

    (mystruct *)ebx

will show the entire structure, and

    ((mystruct *)ebx)->member

will show the member.



这篇关于Visual Studio - 观察汇编寄存器寻址结构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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