Equinox Online Help - Language Reference - A to Z

Home

Stop

Applies to
SyntaxStop
Action[Statement] Forces the debugger to open
ScopeUsable anywhere.
Notes

This statement will force the equinox server to stop compiling and open the debugger.

If this statement is used in a .esp page, the instance of the ESP page in question will stop. If there has been no output, you will see nothing. If there is any output still buffered, the results are undefined.

CategoryDebugging
See Also Assert, Print, PrintDevice, ReportError
Example

This example will stop at the stop statement and open the debugger, from where you can step through the code, change the variable value or set a conditional breakpoint. The print window in the debugger will take over from the normal print window whilst control is with the debugger.

number i

for i = 1 to 5
print I
stop
next