Generates a trap for futures executions of a script.

1 debug.trap

    <debug /> !


Generates in memory (of the application server) a trap to futures executions of the script specified in the attribute name. The attribute times indicates the number of times which the trap will have effect. To obtain the full use of this command, the label <debug> specified as argument, should contain the attribute dump with the value true.


Generates a trap from DBStudio.

        <debug.trap name='gcompedh' times='2'>
            <debug mailto='' dump='true' />

A trap is configured for the 2 following executions of the XSQLScript gcompedh. The debug information will be sent by e-mail to the specified mail in the attribute mailto, also it will contain statistics of use and SQL response time (dump='true').