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;