Eclipse debugging program and project import and export, eclipse Import and Export

Source: Internet
Author: User

Eclipse debugging program and project import and export, eclipse Import and Export

Eclipse debugging program

Debugging Overview:

① Debugging is the method to test the program. The main purpose is to solve the logic problem of the program. The process is: to discover, modify, and correctly execute the program;

② In the past, we could use the System. out. println () method to view problems in our program;

③ Now we can use Eclipse development tools for debugging: Eclipse provides programmers with the breakpoint setting function to achieve single-step debugging program;

Debugging steps:

① Preliminarily judge the location of a program error;

② Set breakpoints for the specified program (multiple breakpoints can be set );

③ In the debugging view, the program is suspended at the breakpoint;

④ Run the program in one step by F6;

⑤ Observe the values of variables or expressions;

6. Locate and modify the problem;

7. Run the final program

 

Eclipse project Import and Export

① Right-click the project Copy and place it to the desired file location

 

② Delete a project, right-click Delete in the project, and select "Delete file" in the displayed window.

 

 

③ Import project, File → Import

Next, select the file you just copied and saved. To create an identical project in the work environment, select the check box and add it to the work environment you created; if checked, the introduced project is the project in the work environment;

 

④ Export method: File → Export

 

Next, select the storage path and file name, suffix

The export method is in the compressed file format. You can decompress the file and view the project;

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.