Handling script errors

If an application is running in 1C:Enterprise mode and a script error occurs, an error message is displayed. Then the system behavior varies depending on the error type.

For compilation errors, the application is stopped because the system cannot process an object whose module has not been compiled.

For runtime errors, the current script call (up to the top level) is stopped but the application execution is continued.

But if a runtime error occurs during module body execution (i.e. during module initialization), the application is stopped because the system cannot process an object whose module has not been initialized.

Next page: Infinite recursion

Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.