> Most languages (including Python, AFAIK) unwind the stack when an exception is thrown, all the way up to the nearest catch.
You might have to use a few tricks/hacks, but I'm pretty sure you can set up python in a way to breakpoint at an exception, including all local state at the throw site. Otherwise pdb would not work.