Inspecting variable values

Now let's step over a few statements till we are in the while loop to create course objects from the data returned by the result set. In the top-right window, you will find the Variables view, which displays variables applicable at that point of execution:

Figure 6.10: The debugger paused at breakpoint

You can inspect variables in the previous method calls too by changing the selection in the Debug tab: click on any previous method call (stack frame) and the Variables view will display variables that are valid for the selected method. You can change the value of any variable, including values of the member variables ...

Get Java EE 8 Development with Eclipse now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.