Rogue Wave Knowledge Base
Browse by category:
Knowledgebase | Glossary | Ask a Question |

Memory Event Actions Dialog Box

Article ID: 1486
Last updated: 07 May, 2018
Revision: 2
print  Print
share  Share
Views: 789
Posted: 08 Jun, 2012
by --
Updated: 07 May, 2018
by Bibo J.

The Memory Debugger can perform additional actions when an event occurs. Here's a snapshot of the TotalView 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 Manage Processes > Export Memory Data 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 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.


This article was:   Helpful | Not helpful Report an issue

Prev     Next
Setting event notifications       Saving view information

Others in this category
b When freeing storage, your program crashes
b How does MemoryScape (included in TotalView) provide you with the ability to see exactly which code objects, functions and allocations are using up the most memory
b Using MemoryScape and TotalView together
b How do I navigate all the source code files that make up my program?
b What is the CLI and why bother?
b How do I configure the CLI xterm?
b How do I debug executables linked with shared libraries?
b How do I see what TotalView executes when I use mpirun?
b Using the Attach Subset Command
b Using wide characters
b How can I use ssh instead of rsh to launch tvdsvr processes?
b Creating default preferences
b Using gnu_debuglink files
b Memory
b Memory: Leaks and dangling pointers
b Why using realloc() can cause problems
b How do I find memory leaks?
b Can TotalView tell me when a memory block is deallocated?
b Painting allocated and deallocated memory
b Visualizing the heap
b Filtering memory information
b Setting event notifications
b Saving view information
b Using guard blocks
b Setting and using baselines
b How do I tell TotalView how to process a signal?
b How do I stop TotalView from popping up `Stop Process' questions?
b Why am I seeing assembler instead of source code?
b The Search Path and TotalView Built-in Functions
b Creating a Search Path Directory Tree
b How do I set the way TotalView handles signals?
b How do I set (or reset) command arguments?
b Startup (Part 2): The command line
b Startup (Part 3): Preferences
b How do I manage my search path so TotalView finds my source files?
b How do I change command line arguments and variables?
b How do I get TotalView to start faster?
b New Program dialog
b Configuring TotalView for starting MPI programs
b How do I debug executables linked with shared libraries?
b How do I get back to where I was before I began diving?
b How do I use the Stack Frame pane?
b How do I know what state my processes and threads are in?
b How do I use the Action Points tab?
b How do I "go to a line"?
b Process Groups
b Thread Groups
b What do run controls run?
b More on the TOI, POI, & GOI
b How do I see global variables? You took away the Global Variables command!
b Using the TTF (Type Transformation Facility) to simplify structures?
b Examining memory
b Expressing expressions
b Seeing a variable's value in all threads or all processes
b Seeing changed variables
b Freezing Variable Window Data
b Displaying Returned Values When the Value Isn't Assigned to a Variable
b Locking the Address
b Examine syntax
b How do I display an array slice? That is, how do I display part of an array?
b Manipulating arrays
b How do I select which array values I want displayed?
b How do I display every 13th item in an array?
b More on dynamically allocated arrays
b How do I reexecute some code without restarting my program?
b Can TotalView animate how my array data is changing?
b How do I animate an array slice?
b Evaluating expressions
b Evaluating expressions containing functions
b Why is there expression evaluation within TotalView?
b Using the call graph
b How do I save a call graph?
b How do I see which files my application is performing I/O Upon?
b Starting MPI programs from a shell