Enter environment variables in the field in the Program Environment area.
Figure 40 – Setting 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 Program Environment area to add additional environment variables or to override values of existing variables.
NOTE >> TotalView does not display the variables that were passed to it when you started your debugging session. Instead, this field displays only 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.
RELATED TOPICS
Environment options in the File > Debug New Program dialog