Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Visual Studio frees memory if I interrupt debugging?

Does Visual Studio (I'm using the 2010 edition) frees the memory when I interrupt debugging and some of the free(memory_pointer) instructions are not yet called?

I think it does but I prefer having a confirmation first

like image 201
Marco A. Avatar asked Sep 18 '25 02:09

Marco A.


1 Answers

When you interrupt debugging, it won't free any memory because you might want to continue later ...

If you abort debugging, Visual Studio detaches the debugger and aborts the process. In this case, the OS will take care of releasing all resources (i.e. memory, file handles) allocated to the process.

like image 167
Alexander Gessler Avatar answered Sep 19 '25 15:09

Alexander Gessler