Previous Getting Started with IDL: Programming in IDL Next

Debugging Tools in IDL

IDL provides many features to help you debug your program. These features are introduced in the following sections. See Debugging and Error-Handling for more information.

Breakpoints

Setting breakpoints in your program allows you to stop and step through the execution of the program. You can observe the value of variables at those points and continue execution of the program.

Variable Watch Window

The Variable Watch Window displays current variable values after IDL has completed execution of your program. If the calling context changes during execution — such as when stepping into a procedure or function — the variable table is replaced with a table appropriate to the new context.

While IDL is at the main program level, the Variable Watch Window remains active and displays any variables created

The IDL Code Profiler

The Code Profiler helps you analyze the performance of your applications. You can easily use it to monitor the calling frequency and execution time for procedures and functions. The Profiler can be used with programs entered from the command line as well as programs run from within a file

  IDL Online Help (March 06, 2007)