Depending on the compiler you used, when you are setting breakpoints in a Java program, you might need to select the entire Java code statement. For more information, see Setting Breakpoints.