Event Type | Event | Definition |
General event | any_event | A generated event occurred. |
Memory debugging event | addr_not_at_start | Program attempted to free a block using an incorrect address. |
alloc_not_in_heap | The memory allocator returned a block not in the heap; the heap may be corrupt. | |
alloc_null | An allocation either failed or returned NULL; this usually means that the system is out of memory. | |
alloc_returned_bad_alignment | The memory allocator returned a misaligned block; the heap may be corrupt. | |
any_memory_event | A memory event occurred. | |
bad_alignment_argument | Program supplied an invalid alignment argument to the heap manager. | |
double_alloc | The memory allocator returned a block currently being used; the heap may be corrupt. | |
double_dealloc | Program attempted to free an already freed block. | |
free_not_allocated | Program attempted to free an address that is not in the heap. | |
guard_corruption | Program overwrote the guard areas around a block. | |
hoard_low_memory_threshold | Hoard low memory threshold crossed. | |
realloc_not_allocated | Program attempted to reallocate an address that is not in the heap. | |
rz_overrun | Program attempted to access memory beyond the end of an allocated block. | |
rz_underrun | Program attempted to access memory before the start of an allocated block. | |
rz_use_after_free | Program attempted to access a block of memory after it has been deallocated. | |
rz_use_after_free_overrun | Program attempted to access memory beyond the end of a deallocated block. | |
rz_use_after_free_underrun | Program attempted to access memory before the start of a deallocated block. | |
termination_notification | The target is terminating. | |
Source code debugging event | actionpoint | A thread hit an action point. |
error | An error occurred. | |
Reverse debugging | stopped_at_end | The program is stopped at the end of execution and is about to exit. |
Action Type | Action | Definition |
Memory debugging actions | check_guard_blocks | Checks all guard blocks and write violations into the log file. |
list_allocations | Writes a list of all memory allocations into the log file. | |
list_leaks | Writes a list of all memory leaks into the log file. | |
save_html_heap_status_source_view | Generates and saves an HTML version of the Heap Status Source View Report. | |
save_memory_debugging_file | Generates and saves a memory debugging file. | |
save_text_heap_status_source_view | Generates and saves a text version of the Heap Status Source View Report. | |
Source code debugging actions | display_backtrace [‑levellevel-num] [ num_levels ] [ options] | Writes the current stack backtrace into the log file. -level level-num sets the level at which information starts being logged. num_levels restricts output to this number of levels in the call stack. If you do not set a level, tvscript displays all levels in the call stack. options is one or more of the following: -[no]show_arguments -[no]show_fp -[no]show_fp_registers -[no]show_image -[no]show_locals -[no]show_pc -[no]show_registers |
print [ ‑slice {slice_exp}] {variable | exp} | Writes the value of a variable or an expression into the log file. If the variable is an array, the -slice option limits the amount of data defined by slice_exp. A slice expression is a way to define the slice, such as var[100:130]in C and C++. (This displays all values from var[100]to var[130].) To display every fourth value, add an additional argument; for example,var[100:130:4]. For additional information, see “Examining Arrays”. | |
Reverse debugging actions | enable_reverse_debugging | Turns on ReplayEngine reverse debugging and begins recording the execution of the program. |
save_replay_recording_file | Saves a ReplayEngine recording file. The filename is of the form <ProcessName>-<PID>_<DATE>.<INDEX>.recording. |
Type of Specifier | Specifier | Display ... |
General display specifiers | noshow_fp | Does not show the frame pointer (FP) |
noshow_image | Does not show the process/library in backtrace | |
noshow_pc | Does not show the program counter (PC) | |
noshow_pid | Does not show the system process ID with process information | |
noshow_rank | Does not show the rank of a process, which is shown only for a parallel process | |
noshow_tid | Does not show the thread ID with process information | |
Memory debugging display specifiers | noshow_allocator | Does not show the allocator for the address space |
noshow_backtrace | Does not show the backtraces for memory blocks | |
noshow_backtrace_id | Does not show the backtrace ID for memory blocks | |
noshow_block_address | Does not show the memory block start and end addresses | |
noshow_flags | Does not show the memory block flags | |
noshow_guard_id | Does not show the guard ID for memory blocks | |
noshow_guard_settings | Does not show the guard settings for memory blocks | |
noshow_leak_stats | Does not show the leaked memory block statistics | |
noshow_owner | Does not show the owner of the allocation | |
noshow_red_zones_settings | Does not show the Red Zone entries for allocations (and deallocations) for the address space |