building and debugging code example
Example 1: debugging
Debugging is the process that helps to solve the recognized defects.
The basic steps in debugging are:
Recognize that a bug exists.
Isolate the source of the bug.
Identify the cause of the bug.
Determine a fix for the bug.
Apply the fix and test it.
Example 2: debugging
Debugging is the process to trace the
error in the application.
There are different ways to debug it
1-Using println statements
2-Using Java Logger
3-Using Debugger tools