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. Valgrind Control ToolBar
2.3. ToolView ToolBar
2.4. ToolViews
2.5. Flags Widget
2.6. 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 Valgrind:

    This option will be disabled if a process is currently running.

    Selecting this option will run Valgrind on whatever executable is currently specified in the Options::Valkyrie::Binary option. If no executable has been set, a dialog will pop up asking you to enter the path/to/executable.

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

  • File->Stop:

    This option will be disabled unless a process is currently running.

    Selecting this option will abort the current run.

    Note: Not all processes can currently be stopped: for example loading/saving a logfile.

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

  • File->Close:

    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" at the bottom, just below the status message area, provide a quick way of switching between views. The currently selected ToolView button 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. 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.

    This is particularly useful for the Options Dialog box: Clicking on a option widget will take you directly to the relevant section of the manual.