Use this screen to examine memory allocations that were corrupted because your program overwrote the guard blocks that MemoryScape placed around memory allocations. MemoryScape only adds guard blocks if you had previously set the level of debugging to either Medium or Extreme. Guard blocks, unlike some kinds of memory operations, do not need to be set before execution begins. Instead, you can halt your program, enable guard blocks by selecting Medium or Extreme in the basic Memory Debugging Options screen or by enabling them in the advanced screen, then resume execution.If you have created a filter, selecting this button tells MemoryScape that it should only report on elements that the filter does not exclude.Shows information on guard blocks that your program altered. This area is described beneath this figure.Contains the backtrace associated with the block that you select in the central corrupted block table. (A backtrace is the call stack that existed when your program allocated the memory block.) The Source area shows the line in your program associated with the selected function. Clicking on a function in this area changes what is displayed in the Source area.Shows the line in your program associated with the information shown in the Backtrace area. When you click on a function in the Backtrace area, the information in this area changes.Selecting this tab displays the raw contents of memory. After you select a colored bar within the corrupted block area, MemoryScape displays memory contents.The central area of this screen contains three columns of information. The center column contains the memory block that your program allocated and whose guard blocks your program altered. Notice the shaded area before and after the block within the column. These shaded areas represent the guard blocks. If the shading is in green, your program did not alter the guard block. However, If it is in orange, the program wrote data into it.this report, runThe left and right columns represent other allocations that your program made. These allocations immediately precede and follow the block whose guards were corrupted.Because the blocks that precede and follow the corrupted block were also allocated on the heap, they too have guard blocks.When you click on a block in any column or row, MemoryScape displays backtrace and source line information at the bottom of the screen.For information on the Memory content tab, see “Task 11: Viewing Corrupted Memory.”Tells MemoryScape to open the currently selected process in TotalView. The TotalView process window will display the current state of that process. You must have a TotalView license available to debug in TotalView.Be aware that opening the TotalView process window from within MemoryScape does not initialize TotalView in the same way as starting TotalView directly. The definitions in your .tvdrc file and your saved breakpoints are not loaded. However, you can load a breakpoint file using the Action Point menu item in the process window. If you need the definitions in your .tvdrc file, start TotalView first and open MemoryScape from within TotalView.To obtain more information about any block, right click on it and select Properties from the pop-up menu. MemoryScape will then display considerably more information in its Block Properties window.
Rogue Wave Software, Inc. |
Voice: (303) 473-9118 |
rwonlinedocs@roguewave.com |