In this tutorial, we will explain the basics of debugging using eclipse. Eclipse comes with an integrated debugger, it enables the developer to trace code execution line by line. Moreover, it enables the programmer to inspect values that variables take.
In this tutorial, we will explain the usage of eclipse debugger to debug java programs. The principles of debugging are almost the same for other languages. We will demonstrate how to use eclipse built-in debugger on the selection sort algorithm.
question.. I'm new to using Eclipse. While stepping through in the debug mode, I get a fileNotFound throw exeption when simply trying to execute a system.out.println command. I do not have any input or output files in this simple program which I copied from a Java book.
MrOmarMesa 8 months ago
@MrOmarMesa, In case it runs normally as a Java application, I'd suggest trying this: Under the window menu go to preferences, then Java->Debug, then uncheck "suspend execution on uncaught exceptions" from the Suspend Execution section.
esSamsung 8 months ago