Because runtime checking is an integral debugging feature, you can perform all debugging operations while using runtime checking except collecting performance data using the Collector.
Runtime checking provides the following capabilities:
Detects memory access errors
Detects memory leaks
Collects data on memory use
Works with all languages
Works with multithreaded code
Requires no recompiling, relinking, or makefile changes
Compiling with the –g flag provides source line-number correlation in the runtime checking error messages. Runtime checking can also check programs compiled with the optimization –O flag. There are some special considerations with programs not compiled with the -g option.
You can use runtime checking by using the check command.