The errors can be reported to stderr, to a file, or to Insra. The insight configuration file governs this process. I elaborate its importance in the next section. Extensibility Insight has a powerful mechanism to extend its capability through interfaces. It's powerful facility to add extensive checking in your or third-party libraries.
Interfaces can ensure and enforce the correct usage and eliminate memory-related erroneous behavior.
I started to write certain test programs that invoked such calls. There were none. To extend the error detection performed during invocation of this call, I quickly wrote the interface in Listing 2 and compiled it with an interface compiler called iic. This generated an XCalls.tqs file that I linked with my original program. On running the program the incorrect call was trapped instantly.