Modify arguments in an open session

Use the following procedures to modify arguments and options in an open program debugging session.

You cannot modify arguments for existing sessions in which you have attached to a running process or are debugging a core or replay recording file.

Modify session arguments in the UI

  1. From within an open debugging session, open the Session Editor using one of the following methods: 

    • Select the Modify Program Arguments (Modify Program Arguments toolbar icon) on the Debug toolbar.

      Debug toolbar with the Modify Program Arguments icon highlighted

    • Select Process >Modify Arguments.

      Process menu with Modify Arguments highlighted

    The Session Editor opens to the session window for the open debugging session.

  2. In the Sessions Editor, edit the arguments and options. Note that the following options cannot be modified within an open session:

    • Session Name

    • File Name

    • Interpreter (This option is specific to native Python debugging sessions. To learn more, see Debug a Python program.)

  3. Select Apply on Restart.

    Modified arguments have no effect until you restart your program. Select either Go, Kill or Restart.

Modify program arguments from the command line

To modify program arguments from the command line, start a new TotalView debugging session from your shell and specify the desired arguments in the startup command. For command syntax and examples, see Starting a Session from your Shell.

Related Topics

Options and Program Arguments

Manage sessions