Debugging Memory Problems with MemoryScape : Chapter 2 Memory Tasks : Task 3: ­Setting MemoryScape Options : Advanced Options : Halt execution at process exit (standalone MemoryScape only)
Halt execution at process exit (standalone MemoryScape only)
This option is visible only when running MemoryScape standalone without TotalView.
When selected (Figure 41), MemoryScape halts your program’s execution just before it stops executing. (In most cases, this is immediately before your program executes its _exit routine.) At this time, you can analyze the memory data that MemoryScape has collected.
If this option isn’t set, your program executes the _exit routine and MemoryScape discards the data it has collected for that process. This means that MemoryScape cannot analyze your program’s memory use, so we recommend that you leave this set.
 
Figure 41: Halt execution at process exit Options