- Compiler Errors versus Logic Errors
- What jdb Brings to the Table
- Enough Introduction...Let's Debug Already!
- Some Advanced Notes about Debugging
- Resources
- Conclusion
What jdb Brings to the Table
jdb is used to find logic errors in your code, which are bugs that won't hinder your code from compiling. On the other hand, these errors produce results that were undesired by the application developer.
Some of the major offerings of jdb include the following:
Single-step execution: The ability to pause line-by-line as your Java program is executed.
Breakpoints: The ability to define points in your program where you want execution to pause.
As you will see, jdb enables us to pause our Java program midstream and view what our variable values are.