Running and Examining Data

In the upper left hand corner you will find the "Debug" view. From this view you may navigate between debugging sessions, threads, up and down the stack, and between consoles of the underlying debugger.

The tool bar in the window provides buttons for running, halting, and stepping your application.

The following screenshot shows the result of selecting Run and allowing the debugger to halt at a breakpoint. The screenshot also demonstrates the data inspection facilities provided by Eclipse.

Running and
examinging data.

To the right, a tabbed dialog presents various views for inspecting local variables, breakpoints, and registers. These tabs provide a variety of different tools for exploring information about the state of your halted application.

Eclipse provides additional optional views through the Window -> Show View menu item. In the screenshot, the "Expressions" view has been added by clicking Window -> Show View -> Expressions. In this example, a watchpoint expression has been added by double-clicking inside the expressions window and adding an entry for the local variable "Last."

A tabbed dialog in the middle of the perspective provides a number of editor windows, in which the point at which the debugger is currently halted is shown by an arrow in the left gray border.

At the bottom of the screen, a tabbed dialog provides access to the console for the process being debugged. This window allows text input and allows the user to provide input to a process that expects to read text input for the console. Additional entries provide interfaces for working with tasks and inspecting the state of memory.