Debugging Memory Problems with MemoryScape : Chapter 5 MemoryScape Scripting : memscript Example

memscript Example
The following example performs the following actions:
*
Runs the filterapp program under MemoryScape control.
*
Passes an argument of 2 to the filterapp program.
*
*
*
memscript -maxruntime "00:00:05" \
-event_action "any_event=save_memory_debugging_file" \
-guard_blocks -hoard_freed_memory -detect_leaks \
~/Work/filterapp -a 2

Rogue Wave Software, Inc.
Voice: (303) 473-9118
rwonlinedocs@roguewave.com