Visual Studio-方式看到堆栈大小增长而步进? [英] Visual Studio- way to see the stack size growing whilst stepping through?

查看:215
本文介绍了Visual Studio-方式看到堆栈大小增长而步进?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道调用堆栈窗口显示所有的函数调用,但是有一种方法看到堆栈的大小增长/收缩,而通过代码?

I know the call stack window shows all the function calls, but is there a way to see the size of the stack grow/shrink whilst stepping through the code?

我使用VS2012

Google只是不断地返回如何增加堆栈大小...

Google just keeps returning how to increase the stack size...

推荐答案

堆栈大小是固定的,默认是一兆字节。您肯定可以在堆栈中看到您的代码消耗空间,ESP寄存器的值(堆栈指针)在Debug + Windows + Registers窗口中可见。请注意,在您逐步进入功能时,它会减少。

The stack size is fixed, the default is one megabyte. You can certainly see your code consuming space in the stack, the value of the ESP register, the stack pointer, is visible in the Debug + Windows + Registers window. Note that it will decrease as you step into functions.

这篇关于Visual Studio-方式看到堆栈大小增长而步进?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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