To enable the Debugger to provide run-time error checking, set run-time error checking options in your project before you build it. The options that you set determine the types of errors the Debugger will be able to check at run-time.
To set run-time error checking options, choose Project > Options for Selected Files..., and navigate to the Runtime Error tab. If you have questions about individual options, see "File Options > Run-time Error tab".