What is debugging?
Debugging is the process in which the coder detects the error in the program and then corrects that error using debugging techniques.
When error occurs once the program is compiled or run then it is necessary to find the location of the error in the program. Once you gets to know the location of the error then try to figure out why the error occurred. This will help you to correct the error.
Debugging technique is the process of finding the location of execution errors and logical errors within a program.
Debugging techniques
Given below are debugging techniques:
-
Error Isolation→ This is the process of finding out the location of the error.
-
Tracing→ This is the process of tracing the value of the variables as it passes internally through different methods. Moreover coders can also monitor the progress of the computationas the program gets executed.
-
Watch Values→ It is an expression that gets displayed continuously as program executes.
-
Break Point→ It is the temporary stopping point within a program.
-
Stepping→ It is the execution of one instruction at a time by pressing F7 or F8 to execute each instruction.
Would you like to see your article here on tutorialsinhand.
Join
Write4Us program by tutorialsinhand.com
About the Author
Sonu Pandit
Technology geek, loves to write and share knowledge with the world. Having 10+ years of IT experience. B.Tech in Computer Science & Engineering
Page Views :
Published Date :
Jul 05,2020