开发者

Is the stack unwound when you stop debugging?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜