TotalView Command Syntax
This chapter describes the syntax of the totalview command. Topics in this chapter are:
Syntax
Synopsis
totalview [ filename [ corefile ]] [ options ]
Description
The TotalView debugger is a source-level debugger with a graphic interface (based on the X Window System) and features for debugging distributed programs, multiprocess programs, and multithreaded programs. You need a workstation or terminal running the X Window System to use TotalView. TotalView is available on a number of different platforms.
Arguments
filename
Specifies the path name of the executable being debugged. This can be an absolute or relative path name. The executable must be compiled with debugging symbols turned on, normally the -g compiler option. Any multiprocess programs that call fork(), vfork(), or execve() should be linked with the dbfork library.
corefile
Specifies the name of a core file. Specify this argument in addition to filename when you want to examine a core file with TotalView:
totalview filename corefile [ options ]
Using Options
If you specify mutually exclusive options on the same command line (for example, -dynamic and -no_dynamic), the last option listed is used. Some of these options override TotalView X resources described in X Resources. If an option contains underscores (_), you can usually omit the underscores. For example, -nodynamic is the same as -no_dynamic; similarly -arrowbgcolor and -arrow_bg_color are the same.
Note: The option -Xresource=value option allows you to set the X resource Xresource to value from the command line. For example, to set "totalview*stopAll" to false, you could specify the command-line option -stopAll=false. Note that the string "totalview*" is omitted from the command line. X resource values set from the command line override settings in your X resource file. For a complete list of X resources, see X Resources.