Show Stack content (not stack call) at visual studio 2013

前端 未结 2 1060
野趣味
野趣味 2021-02-15 18:51

How i can view Stack content (not stack call) at visual studio 2013?


view to where ESP is pointing and below. show content at char.

Thanks for the help.

2条回答
  •  面向向阳花
    2021-02-15 19:18

    The other answer is correct for 32-bit code, however it is only "half-correct" for 64-bit code.

    If you really want to see the memory at esp, then you can enter esp in the Address input box in the Memory debug window.

    However, this is probably not what you want for 64-bit code. The stack is at rsp not esp.

    If you enter rsp into the Address input textbox in the Memory debug window then you will see the stack memory. If you enter esp into the Address input textbox then you will see the memory at (rsp & 0x00000000ffffffff), which is probably not what you want.

提交回复
热议问题