Sets the value to use as the variable’s default. This option is most often used by system administrators to set site-specific defaults in the global
.tvdrc startup script. Values set using this option replace the CLI built-in default.
The dset command sets the value of CLI debugger variables. CLI and TotalView variables are described in
Appendix A ,“TotalView Variables”.
If you use the dset command with no arguments, the CLI displays the names and current values for all CLI variables in the global namespace. If you use only one argument, the CLI returns and displays that variable’s value.
If you do not use an argument, the CLI only displays variables in the current namespace. To show all variables in a namespace, enter the namespace name immediately followed by a double colon; for example,
TV::.
You can use an asterisk (*) as a wildcard character to tell the CLI to match more than one string; for example,
TV::g* matches all variables in the
TV:: namespace beginning with
g. For example, to view all variables in the
TV:: namespace, enter the following:
You need to type the double colons at the end of this example when obtaining listings for a namespace. Without them, Tcl assumes that you are requesting information on a variable. For example,
dset TV::GUI looks for a variable named GUI in the
TV namespace.
When you press a default button within a File > Preferences dialog box, TotalView reinitializes some settings to their original values. However, what happens if you set a value in your
tvdrc file when you press a default button? In this case, setting a variable doesn't change what TotalView thinks the default is, so it still changes the setting back to its defaults.
You can tell TotalView that the value set in your tvdrc file is the default if you use the
–set_as_default option. Now when you press a default button, it will use your value instead of its own.
If your TotalView administrator sets up a global .tvdrc file, TotalView reads values from that file and merges them with your preferences and other settings. If the value in the
.tvdrc file changes, TotalView ignores the change because it has already set a value in your local preferences file. If the administrator uses the
–set_as_default option, you can be told to press the default button to get the changes. If, however, the administrator doesn't use this option, the only way to get changes is by deleting your preferences file.
Places ../test_dir at the beginning of the previous value for the executable path.
Sets the default value of the TV::server_launch_string. If you change this value, you can later select the
Defaults button within the
File > Preferences Launch String Page to reset it to this value.