Debugging detects and suggests corrections for errors in syntax and logic. IDEs have a number of ways for debugging.
IDEs include:
Diagnostic programs which detect and locate faults in a program.
Debuggers which inspect variable values and allow run time detection for logical errors.
Step mode which executes code one step at a time under users control to see the effects of each line of code.
Traces which are printouts that show the statement tables executed as the program is run and see where an error occurs.
Crash Dump which shows the state of variables when an error occurs.
Stack contents which shows sequencing through procedures and modules
Cross references which identifies variables so errors such as unplanned duplicates are identified.