D!<#
8&C!
%#/
!##I
II/!I+
,Window > Preferences > Java > Compiler!
Figure 1. Debug options in Eclipse
Debug an application remotely
5!,
1. Create a Java project with a simple class
5!:!
Listing 4. Sample code for debugging
/!!5/!P
Q
$RS"Q
$!!I1!I"P
T
T
2. Set a breakpoint
$/!2#/System.out.println("This
is a test.");!