TotalView Online Help : Other Topics : Setting Search Paths Using TotalView Variables : Search Path Variables That TotalView Sets : EXECUTABLE_DIRECTORY_COMPONENT
EXECUTABLE_DIRECTORY_COMPONENT
The EXECUTABLE_DIRECTORY_COMPONENT contains the executable file’s directory name. This directory name can either be absolute or relative.
You can enter an executable file name in several places. For example, you can enter it on the command line, as an argument to the dload or dattach CLI commands, and in the File > Debug New Program dialog box (and other dialogs that configure new sessions from the File menu).
If the executable file name contains a slash (“/”) path separator, TotalView does not search for the executable file. Instead, it uses this name, setting EXECUTABLE_DIRECTORY_COMPONENT to the directory portion of the provided name.
If an executable file name does not contain a path separator, TotalView sets EXECUTABLE_DIRECTORY_COMPONENT to the first directory named in the EXECUTABLE_SEARCH_PATH where it finds the executable file.
Example 1
If the executable file is /bin/ls, EXECUTABLE_DIRECTORY_COMPONENT is set to /bin/.
Example 2
If the executable file is ../../bin/a.out, EXECUTABLE_DIRECTORY_COMPONENT is set to ../../bin.