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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.