php    php100   android
當前位置:首頁 » Eclipse教學 »

Eclipse - 調試配置 評論   編輯

創建和使用調試配置

An eclipse debug configuration is similar to a run configuration but it used to start an application in the debug mode. Because the application 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 applications.

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

Eclipse - 調試配置

To create a debug configuration for a Java application select "Java Application" from the list on the left hand side and click 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
Eclipse - 調試配置

To save the run configuration click on the Apply button and to launch the application in the debug mode click on the Debug button.

貢獻/合作者

正在開放中...
 

評論(0條)

  • 還冇有評論!