If the program has the TEST(ALL) or TEST(ERROR) run-time option in effect, an interrupt causes the debugging tool to receive control the next time a hook is encountered. This might be before the program’s polling code recognizes that the interrupt occurred.
Later, when the ATTENTION condition is raised, the debugging tool receives control again for condition processing.