A* debugging