Debugging

Debugging is the process of finding and correcting errors or undesirable behavior in your code. The IDL Workbench supplies tools that let you monitor the execution of your program, stop and re-start execution, step through the program one statement at a time, and inspect or change the values of variables.

The debugging process begins when IDL temporarily stops execution before it reaches the end of a program. There are two ways this can happen: when IDL encounters an error that forces either compilation or execution to halt, or when IDL encounters a breakpoint you have set in the code to cause a temporary halt. Note that not every error in your code will cause IDL to halt execution; many problems involve code that runs correctly to completion but creates incorrect results.

For complete information, see Debugging and Error-Handling.