Debug a program

To configure a new debugging session:

  1. Open the Program Session window of the Session Editor using one of the following methods: 

    • Select File > Debug a Program.

    • On the Start Page, select Debug a Program.

    Program Session dialog with session name and program file fields

  2. Enter a session name in the Session Name field.

    Note that any previously entered sessions of the same type are available from the Session Name dropdown list. See Edit a previous session.

  3. Enter the name of your program in the File Name field or select Browse to locate and select the file. You can enter a full or relative path name. If you have previously entered programs here, they will appear in the dropdown list.

    If you enter a file name and the UI cannot find it, it displays the path in red; however, TotalView searches for it in the list of directories listed in your PATH environment variable.

    dset EXECUTABLE_PATH

  4. (Optional) Add any custom configurations or options:

  5. Select Load Session, which is enabled after all required information is entered.