During development and testing, you should use the development library. The VCS error reporting system is in use by default whenever you use the development libraries. When using the error reporting system, all development and run-time errors detected by the system will automatically be reported to you. Using the development library enables Vermont Views to detect many serious errors, including some memory overwrite problems, in your application. In addition, if you need to call for technical support, the information provided by the error reporting system in the development library enables the technical support staff to answer your questions faster.
When using the development library, the VCS error reporting system is enabled by default. This system provides information to assist you in finding where an error occurred in your program and what the error is. The information provided is as follows:
You can have your functions included in the list of functions displayed in the call log and call stack. For more information, see Chapter 50, "Debugging and Error Handling."
Check for run-time errors in your code. Even if you are using the development libraries, you should still check for run-time errors in your code. If a run-time error occurs, your code must recover from the error or terminate the program. When you link the final version of your application with the production libraries, your checks and error recovery code must be present for your application to run correctly. The Function Reference includes information on each Vermont Views function, including any run-time errors that may be generated by that function. Use this information to check for errors in your application and recover appropriately.
For more information about debugging your Vermont Views programs, see the following: