Import and export of Eclipse debuggers and projects

Source: Internet
Author: User

Eclipse Debug Program

Debugging Overview:

① debugging is the method of testing the program, the main purpose is to solve the logic problem of the program, the process is: the discovery of problems, modify the problem, the correct implementation;

② previously we could use the System.out.println () method to see the problems in our program;

③ Now we can use Eclipse development tools to help us debug: Eclipse provides programmers with the ability to set breakpoints to achieve a single-step debug program;

Debugging steps:

① the location of the initial judgment procedure error;

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

③ into the debug view so that the program hangs at the breakpoint location;

④ Press F6 Single step to run the program;

⑤ to observe the value of a variable or an expression;

⑥ find the problem and modify the problem;

⑦ Running the final program

Import and export of Eclipse projects

① Right-click the project copy to place it in the desired file location

② Delete Item, right-click Delete in project, tick delete file in popup window

③ Import Project, File→import

Next, select the file that you just copied, and if you want to create a copy of the same item in your work environment, tick it and add it to the work environment you created; The project that was introduced after the selection was the project in the working environment;

④ Export Method: File→export

After the next selection of the storage path and file name, suffix

The export method is a compressed file format, can be decompressed after viewing the project;

Import and export of Eclipse debuggers and projects

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.