Server-Side Information Objects > trace > Application information objects

 

Application information objects

The following table lists the information objects for the Application object.

Code

Level

Meaning

Application.Script.Error

Error

The ActionScript engine has encountered a runtime error.

In addition to the standard infoObject properties, the following properties are set:

filename: name of the offending ASC file.lineno: line number where the error occurred.linebuf: source code of the offending line.

Application.Script.Warning

Warning

The ActionScript engine has encountered a runtime warning.

In addition to the standard infoObject properties, the following properties are set:

filename: name of the offending ASC file.lineno: line number where the error occurred.linebuf: source code of the offending line.

Application.Resource.LowMemory

Warning

The ActionScript engine is low on runtime memory. This provides an opportunity for the application instance to free some resources or take suitable action.

If the application instance runs out of memory, it is unloaded and all users are disconnected. In this state, the server will not invoke the Application.onDisconnect event handler or the Application.onAppStop event handler.

Application.Shutdown

Status

This information object is passed to the onAppStop handler when the application is being shut down.

Application.GC

Status

This information object is passed to the onAppStop event handler when the application instance is about to be destroyed by the server.