开发者

Is the stack unwound when you stop debugging?

开发者 https://www.devze.com 2022-12-30 03:51 出处:网络
Just curious if my destructors are being called. (Specifically for Visual Studio, when you hit the r开发者_开发百科ed stop button)No the process is terminated in VS2005, VS2008 and VS2010 when you pre

Just curious if my destructors are being called.

(Specifically for Visual Studio, when you hit the r开发者_开发百科ed stop button)


No the process is terminated in VS2005, VS2008 and VS2010 when you press stop debugging.

You can easily check this by making a destructor that writes something to a file (and flushes output).

I'm not sure what standard you mean, but there is no standard that would define this behavior.


~~~~~~~~~~~
Nope.
~~~~~~~~~~~

0

精彩评论

暂无评论...
验证码 换一张
取 消