To stop execution the tenth time in function foo and print a:
stop in foo {print a} after 10
To stop at line 17 of file bar if a is equal to 0:
stop at "bar":17 if a == 0
To stop whenever a changes:
stop a
To stop the third time a equals 5:
stop if a .eq. 5 after 3
To print a and do a stack trace every time the program stops execution:
when stopped {print a; where}