When a memory event occurs, the Memory Debugger automatically displays this window. After you dismiss it, you can redisplay it using this command.
Figure 63: Tools > Memory Event Details Window
The Block Information area gives the memory location of the block and its status.
The third area contains the function backtrace if the error or event is related to a block allocated on the heap. The Memory Debugger retains information about the backtrace that existed when the memory block was allocated and the backtrace when it was deallocated. You can tell the Memory Debugger which it should display by selecting either the Point of Allocation or Point of Deallocation tab.
In some cases, the Memory Debugger does not display an allocation backtrace. For example, if you try to free memory allocated on the stack or in a data section, there’s no backtrace because your program did not allocate the memory.
The allocation backtrace, which indicates where your program allocated a memory block. This only exists for memory created within the heap.
The deallocation backtrace, which indicates where your program freed a memory block. This only exists for memory created within the heap.
The current backtrace, which is the place where TotalView stopped your program. This is the backtrace currently being displayed within the Process Window.
Rogue Wave Software, Inc. |
Voice: (303) 473-9118 |
rwonlinedocs@roguewave.com |