Skip to content

Pause

pause

Also searchable as: Pause

pause pauses the script. Pressing Play goes on with the line after it, with every variable as it was. Use halt to stop the script instead.

While a script is paused, the variable inspector shows the current values, which makes pause a simple breakpoint. EasyUO Reforged also has real breakpoints: see Editing and debugging.

set %debug #true
gosub somesub 5
display ok #Result
halt
sub somesub
if %debug = #true
pause ; check the variables here
set %something %1
return %something

See also

Based on the EasyUO wiki, edited for EasyUO Reforged. This text is available under the GNU Free Documentation License 1.2.