2 Minutes To Code (β Version)

Debugging with Eclipse - 2 minute tutorial

Overview of Debugger

When a java application behaves unexpectedly, then one sure-shot way to identify the errant piece of code is use debugger. A debugger utility 'jdb' comes bundled with jdk. However, the debugger functionality of Eclipse provides a GUI for this, making one's task very easy.

Let's see how to use the debugger feature of Eclipse in the next few pages.