Filtering memory information

 

If your program allocates a large number of blocks, the information contained within the Memory Debugger's views can be overwhelming. In addition, memory allocations can come from different libraries and different parts of your program. Beginning with TotalView 6.7, you can control how much view information the Memory Debugger displays by applying filters.

To create or edit a filter, select the ... button to the right of the Enable Filtering checkbox.

The Memory Debugger responds by displaying its Data Filters dialog box. To create a new filter, press the Add button. To change an existing filter, select the filter, then press the Edit button. The following figure shows the Data Filters and the Edit Filter Dialog Box (which is the same as the Add Filter Dialog Box):

How you go about creating filters will be discussed in next week's tip.

Something Completely Different

IBM's developerWorks has a nice article on C++ exception handling tricks on Linux. The URL is: http://www-128.ibm.com/developerworks/library/l-cppexcep.html?ca=dnt-68.


You can find tips that we've already sent out in our Tip Archive

Help us improve these tips!