shift/reduce debugging