2. The Main Window

Table of Contents

2.1. The MenuBar
2.1.1. The File Menu
2.1.2. The Tools Menu
2.1.3. The Options Menu
2.1.4. The Help Menu
2.1.5. Context Help
2.2. The ToolBar
2.3. Tool Views
2.4. Flags Widget
2.5. Status Messages

The main window is composed of several elements, explanations for which are below.

2.1. The MenuBar

2.1.1. The File Menu

  • File->Run:

    This option is disabled unless a ToolView is open.

    Selecting this option will run Valgrind on whatever executable you last specified. If no executable has been set, a dialog will pop up asking you to enter the path/to/executable.

    The "Run" toolbutton is a shortcut to this menu option.

  • File->Stop:

    This option will be disabled unless a process is in the middle of being run.

    Selecting this option will cause a dialog to pop up asking if you are sure you want to abort the run; selecting "Abort" will terminate the current process.

    The "Stop" toolbutton is a shortcut to this menu options.

  • File->Close:

    This option will be disabled unless a "ToolView" is open.

    Selecting this will close the current ToolView. If the ToolView contains an unsaved file, or if a process is in the middle of being run, a dialog will pop up asking for confirmation.

  • File->Exit:

    Exits Valkyrie. If a process is in the middle of being run, or a ToolView contains unsaved data, a dialog will pop up asking for confirmation.

2.1.2. The Tools Menu

  • This menu shows which Valgrind tools are available. The currently selected tool is greyed out.

    The "ToolView Buttons" just below the status message area provide a quick way of switching between views. The currently selected toolbutton is depressed.

2.1.3. The Options Menu

  • This menu contains links to a dialog where preferences, options and flags may be set for Valkyrie, Valgrind, and (supported) Valgrind tools. Any flag which may be given on the command-line for Valkyrie or Valgrind is available to be set in this dialog. The settings are saved, so if you want to repeat runs, there is no need to re-specify the options. Also see Context Help below.

    For detailed information on this dialog, see the Options Dialog page.

2.1.4. The Help Menu

  • Handbook

    You can access the HandBook at any time. It contains the manuals for both Valgrind and Valkyrie. See also Context Help below.

  • About Dialog

    This is a small dialog with brief "about" information.

2.1.5. Context Help

  • When clicked, the cursor will change its shape; then, clicking on any widget anywhere within Valkyrie will bring up the "Handbook" at the relevant page, providing instant help without having to trawl through the manual.

    A useful feature is the context help which is available for the Options Dialog box. Clicking on any widget in the Options dialog will show you the relevant section of either Valgrind's or Valkyrie's manual.