English 中文(简体)
Eclipse - Debug Configuration
  • 时间:2024-11-03

Ecppse - Debug Configuration


Previous Page Next Page  

Creating and Using a Debug Configuration

An ecppse debug configuration is similar to a run configuration but it used to start an apppcation in the debug mode. Because the apppcation is started in the debug mode the users are prompted to switch to the debug perspective. The debug perspective offers a number of views that are suitable for debugging apppcations.

The Debug Configuration dialog can be invoked by selecting the Debug Configurations menu item from the Run menu.

Debug Configuration

To create a debug configuration for a Java apppcation, select Java Apppcation from the pst on the left hand side and cpck on the New button. In the dialog box that comes up in the main tab specify −

    A name for the debug configuration.

    The name of a Project.

    The name of a main class.

In the arguments tab, specify −

    Zero or more program arguments.

    Zero or more Virtual Machine arguments.

Argument Tab

To save the run configuration, cpck on the Apply button and to launch the apppcation in the debug mode cpck on the Debug button.

Advertisements