debugging heuristics