

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A step-by-step guide on how to use eclipse to debug java code. It covers the basics of debugging, including the use of breakpoints, debugging commands, and inspecting variables. It also includes tips on reproducing errors, simplifying the error, and keeping an open mind.
Typology: Exams
1 / 3
This page cannot be seen from the preview
Don't miss anything!


1
2
3
4
To place a breakpoint, right click in the margin on the line you want to pause at. Select “toggle breakpoint”. You should see a blue circle.
To remove a breakpoint, click on the blue circle and select “Toggle breakpoint” again.
6
Key commands:
1. Step over : don’t go into the function call on the line you are on 2. Step into : go into the function call on the line you are on 3. Step return : go to the next line of the calling function 4. Run to line : run to the line that the cursor is on 5. Resume : run until you hit the next breakpoint or your program ends 6. Terminate
7
8
9
11
12