TotalView User Guide : Part II: Debugging Tools and Tasks : Common Session Setup and Tools : Loading Programs : Setting Command-line Arguments and Environment Variables
Setting Command-line Arguments and Environment Variables
When loading the program from within TotalView, you can enter any necessary command-line arguments using the Arguments page.
Figure 31: Setting Command-Line Options and Environment Variables
 
Either separate each argument with a space, or place each one on a separate line. If an argument contains spaces, enclose the entire argument in double-quotation marks.
At startup, TotalView reads in your environment variables to ensure that your program has access to them when the program begins executing. Use the Environment variables area to add additional environment variables or to override values of existing variables.
*TotalView does not display the variables that were passed to it when you started your debugging session. Instead, this area of this tabbed page just displays the variables you added using this command.
The format for specifying an environment variable is name=value. For example, the following definition creates an environment variable named DISPLAY whose value is enterprise:0.0:
DISPLAY=enterprise:0.0
You can also enter this information using the Process Window’s Process > Startup Parameters command.