How to detect possible / potential stack overflow problems in a c / c++ program?

前端 未结 9 1865
滥情空心
滥情空心 2020-12-04 21:55

Is there a standard way to see how much stack space your app has and what the highest watermark for stack usage is during a run?

Also in the dreaded case of actual o

9条回答
  •  悲&欢浪女
    2020-12-04 22:28

    It is possible to use editbin in Visual Studio to change the stack size. The information can be found at msdn.microsoft.com/en-us/library/35yc2tc3.aspx.

提交回复
热议问题