Debugging Applications

From RAD Studio
Jump to: navigation, search

With the integrated debugger, you can find and fix errors in your applications. The integrated debugger lets you control program execution, monitor variable values and items in data structures, and modify data values while debugging.

The integrated debugger can track down both runtime errors and logic errors. By running to specific program locations and viewing the variable values, the functions on the call stack, and the program output, you can monitor how your program behaves and find the areas where it is not behaving as designed.

You can also use exception handling to recognize, locate, and deal with errors. Exceptions are classes like other classes, except, by convention, exceptions begin with a leading E rather than a T.

See Exceptions (Delphi) for details on Delphi exceptions.
See Exception Handling in C++Builder for details on C++ exception handling.

See Also