Skip to main content

Running a method

Selecting a method

Running Runabout revolves around Java methods. Runabout will let you run any method in your project without modifying your main method.

Once Runabout is installed the Runabout logo will appear in the gutter of the IDE next to all methods. Runabout icon in the gutter

Click on the icon to launch a popup window.

Choosing inputs

In the popup window, enter a java expression to create each parameter (and the instance if an instance method)

Runabout inputs

info

Make sure to hover over and "import" any classes you use from other packages! Imports will not show in the text field, but are recorded and required for use.

Running

Once you press the Run button the program will begin running your method with the inputs you selected in Debug mode

tip

It helps to set a breakpoint at the first line of the method just to ensure your inputs worked.