using pdb and catching exception

Frank Millman frank at chagford.com
Sun Dec 2 02:14:28 EST 2007



Amit Gupta wrote:
> Py'ites
>
> I am using pdb to check my code, and I would like to put a statement
> like equivalent of "C++gdb>catch throw".
>
> Basically, I would like debugger to start as soon as an exception is
> thrown. How may I do it?
>
>
> Thanks

See this post from less than a week ago.

http://tinyurl.com/2zyr7u

I think that the message from Diez B. Roggisch has what you are
looking for.

Frank Millman



More information about the Python-list mailing list