Java 1.6 download for mac os x

broken image
broken image

You can also place your cursor at any variable to inspect the content of the variable. As illustrated in the following diagram, the highlighted line also pointed to by a green arrow indicates the statement to be executed in the next step.Īt each of the step, examine the value of the variables in the 'Variable' panel and the outputs produced by your program in the 'Output' Panel, if any. The program begins execution but suspends its operation at the breakpoint, i.

broken image
broken image

A red circle or an inverted Triangle appears in the left-margin indicating a breakpoint is set at that line. Set a breakpoint at main method by clicking on the left-margin of the line containing main. Before starting the debugger, you need to set at least one breakpoint to suspend the execution inside the program. A breakpoint suspends program execution for you to examine the internal states of the program. This will save you many agonizing hours trying to figure out how to do somethings later. But you can RUN your program with warnings.