Debugging Memory Problems with MemoryScape : Chapter 2 Memory Tasks : Task 6: Using ­Runtime Events : Deallocation and Reuse Notifications

Deallocation and Reuse Notifications
You can also tell MemoryScape that it should notify you when an already allocated block is deallocated or reallocated. Here’s how:
1
2
Display the Memory Reports | Heap Status | Heap Status Graphical Report screen.
3
4
 
Notice the Notify when deallocated and Notify when reallocated check boxes at the bottom of the window.
5
If an event occurs while the program is executing (see Task 4: “Controlling Program Execution”), MemoryScape stops execution and displays its indicator symbol.
You can now display the Manage Processes| Process Event screen (see Figure 57). This is described in the previous section of this task.

Rogue Wave Software, Inc.
Voice: (303) 473-9118
rwonlinedocs@roguewave.com