Skip to content

KeY 4 Eclipse Starter

⚠ not yet verified
Unsupported historical content
This Eclipse integration is no longer supported or maintained. It targeted old Eclipse releases (Indigo/Luna era) and old versions of KeY; the update sites may no longer exist. This page is kept for historical reference.

KeY 4 Eclipse Starter is a basic Eclipse extension to start KeY from within Eclipse.

The following sections illustrate the main features of KeY 4 Eclipse Starter using screenshots. Each section contains numbered screenshots that explain a usage scenario step by step. Clicking on each picture produces a more detailed view. The screenshots may differ from the latest release.

Prerequisites

KeY 4 Eclipse Starter is compatible with Eclipse Indigo (3.7) or newer.

Required update-sites and installation instructions are available in the download area.

Open KeY

  1. Open KeY via main menu item “KeY, Open Application”.

    Open KeY

  2. Select Application “KeY”.

    Open KeY

  3. Use KeY as normal.

    Open KeY

Verify a method contract

  1. Select the method to verify.

    Verify a method contract

  2. Start proof via main menu item “KeY, Start Proof”.

    Verify a method contract

  3. Select Application “KeY”.

    Verify a method contract

  4. Instantiate proof in KeY as normal.

    Verify a method contract

Load a proof or key file

  1. Select the proof or key file to load.

    Load a proof or key file

  2. Start proof via main menu item “KeY, Load File”.

    Load a proof or key file

  3. Select Application “KeY”.

    Load a proof or key file

  4. Instantiate proof in KeY as normal.

    Load a proof or key file

Stop auto mode when breakpoint is hit

  1. Define a Line, Method or Java Exception breakpoint, a Watchpoint or a KeY Watchpoint as usual.

    Stop auto mode when breakpoint is hit

  2. Select toolbar item “Stop when a breakpoint is hit.” before starting the auto mode.

    Stop auto mode when breakpoint is hit

  3. Auto mode stops when breakpoint is hit.

    Stop auto mode when breakpoint is hit

KeY basics in Eclipse and troubleshooting