TotalView User Guide : Part II: Setting Up : Setting Up a Debugging Session : Loading Programs : Setting Command-line Arguments and Environment Variables

Setting Command-line Arguments and Environment Variables
Because you are loading the program from within TotalView, you will not have entered the command-line arguments that the program needs. The Arguments page allows you to enter what ever is needed.
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.
When TotalView begins executing, it reads in your environment variable and, when your program begins executing, will ensure that your program has access to these variables. 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.

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