Skip to content

Eclipse Debugger

Debugging a program in Eclipse is almost the same as running a program.

  • Run: Run As->Java Application
  • Debug: Debug As->Java Application

Debug As->Java Application

When the program hits a breakpoint, it asks to open the Debug perspective.

Confirm Perspective Switch

Select Remember my decision and choose Yes.

This takes you to a set of views for debugging.

Debug perspective

Practice Exercise

If you try to Debug As->Java Application, but the program did not pause, it probably did not reach a line with a breakpoint.


Prev -- Up -- Next