Java 7 for Absolute Beginners

(nextflipdebug5) #1
CHAPTER 11 ■ DEBUGGING WITH ECLIPSE


  • That you need to know what to expect before you can know what's wrong.

  • How to use those expectations to find and fix a problem.


As you do more with programming, you'll go through this basic process many, many times. With
practice, you'll gradually develop your own feel for where problems lie and how to find them. Honestly,
debugging is an art form, and it's the sense of what's wrong that comes with experience that will let you
do more, rather than any formal understanding of debuggers. So, use the Eclipse debugger and any
other debuggers you may encounter in the future to develop your own debugging skill. Having a knack
for debugging is one of the things that separate senior developers from junior developers, and
experience is the only way to create that knack for yourself.
Now, go point the Eclipse debugger at the code you've developed while reading this book, set a few
breakpoints, and see what you can learn. I bet you'll be surprised.

Free download pdf