Memory Event Actions Dialog Box and TotalView Team

 

If you have a TotalView Team license, the Memory Debugger can perform additional actions when an event occurs. Here's a snapshot of the TotalView Team Memory Events Actions dialog box:
 

Selecting either the Generate a core file and abort the program or Generate a lightweight memory data file option tells the Memory Debugger to write a file when an event occurs. If you tell the Memory Debugger to:

  • Generate a core file, the Memory Debugger writes the file to disk and aborts execution. (The operating system routines that generate the core file also abort the program.) As you are still within the TotalView, you can restart your program or load the core file into the current TotalView session.
  • Write a lightweight memory file, the Memory Debugger writes a file that is similar to the file that it writes when you use the File > Export command. These lightweight files can then be read back into the Memory Debugger in the same way that it can read in exported .dbg files. In contrast to a what happens when the Memory Debugger creates a core file, your program can continue executing after the Memory Debugger writes this file.

If you select the Stop the process and show the event details option, the Memory Debugger displays its Event Details window. This window also lets you generate these files.


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

Help us improve these tips!