Startup (Part 1): tvdrc

 

TotalView needs to work in a great many environments. What has evolved is a rather complex system where startup data can be placed in many different places. Here is an overview:

The tvdrc file is where you'll find and place startup commands. Notice that there are three of them. If they exist, TotalView will read each one! All three can contain command definitions, commands, and variable settings. The technical term for what's found in these files is stuff.

  • The global .tvdrc file is most often used by TotalView administrators. An administrator would place stuff here that affects all users.
  • The tvdrc file (notice no period in the name) resides within your home directory's .totalview subdirectory. This is where you place stuff that you always want set.
  • The local .tvdrc file is in the same directory as your executable. It contains stuff important when you are debugging just that executable.

The files are always read in this order.


You can find tips that we've already sent out in our Tip Archive

Help us improve these tips!