Does the stack expand when debugging stops?

It's just curious that my name is destructors.
(In particular, for Visual Studio, when you press the red stop button)

+3
source share
2 answers

No, the process ends in VS2005, VS2008, and VS2010 when you press a debug stop.

You can easily verify this by creating a destructor that writes something to the file (and clears the output).

I'm not sure which standard you have in mind, but there is no standard that defines this behavior.

+5
source

~~~~~~~~~~~
No.
~~~~~~~~~~~~

+2

Source: https://habr.com/ru/post/1745532/


All Articles