Batch Debugging Using tvscriptBatch debug programs by starting TotalView using the tvscript command, which allows TotalView to run unattended. If you invoke tvscript using cron, you can schedule debugging for a certain time, for instance in the evening, so reports are available in the morning.Here, for example, is how tvscript is invoked on a program:-create_actionpoint "method1=>display_backtrace -show_arguments" \
-create_actionpoint "method2#37=>display_backtrace -show_locals -level 1" \
-display_specifiers "nowshow_pid,noshow_tid" \
-maxruntime "00:00:30" \
filterapp -a 20You can also execute MPI programs using tvscript. Here is a small example:This chapter discusses tvscript command-line options.
Rogue Wave Software, Inc. |
Voice: (303) 473-9118 |
rwonlinedocs@roguewave.com |