The ps alias command (it's really print -stack) prints the context stack so that you can see which states and operators are currently in the goal stack.