Chapter 7. Debugging Your Code

Understanding the operation of complex software often requires introspection that goes beyond the display of log information using println() statements and log4j output. You need the ability to step through a program statement-by-statement and view or modify the state of fields, method parameters, and local variables. Debugging tools that enable such control are common among most IDE and command-line development environments. However, Eclipse raises the bar with its excellent customizable debugging capabilities and additional workbench views.

Our debugging activities are focused on the product catalog project that was introduced in Chapter 2, “Hello Eclipse.” We initially ran the application within Eclipse using the ...

Get Eclipse Distilled 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.