O'Reilly logo

Getting Started with Eclipse Juno by Vinicius H. S. Durelli, Rafael Medeiros Teixeira, Rodrigo Fraxino Araujo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Debugging when problems arise

If you have been a programmer for a while, chances are that you are familiar with the classic debugging technique known as trace code. In case you are not familiar with trace code, let's break it down for you. In this debugging technique we introduce println or print statements throughout the code under inspection in order to show information regarding variables or whether the program has taken a certain path. With this definition in mind, you might be wondering, why would you need a debugger? The answer is simple and twofold. First, using a debugger you can achieve the same results without too much fuss. When applying trace code, you need to include print statements, recompile the program (or the particular chunk ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required