The past is never dead. It's not even past.
The most effective debugging tool is still careful thought, coupled with judiciously placed print statements.