Why am I seeing assembler instead of source code?
If TotalView is displaying assembler instead of source code and you've compiled your program using -g, you could be suffering from a mis-set search path.
 |
| I often see this problem when I move my program from where
I compiled it.
|
You can fix this using the File > Search Path Command.
Use the EXECUTABLE_PATH tab to tell TotalView to add these directories to your search path. The directories named here are searched before the directories listed in your PATH variable. If this isn't what you want or if you find this inconvenient, you have three alternatives:
- Alternative 1: Make sure your search path is set right before starting TotalView.
- Alternative 2: Use the CLI to reset your search path. For example:
dset EXECUTABLE_PATH ../test_dir;$EXECUTABLE PATH
If you place this statement in your .tvdrc file, you won't have think about setting your path whenever you start TotalView.
- Create a setting for your files using the other tabs in this dialog box. Using these tabs is described in the online help.
You can find tips that we've already sent out in our Tip Archive
Help us improve these tips!