using pdb and catching exception

Amit Gupta emailamit at gmail.com
Mon Dec 3 14:10:22 EST 2007


On Dec 1, 11:14 pm, Frank Millman <fr... at chagford.com> wrote:
> 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

Thanks Frank. But again, this results into stack-track when the
exception is caught. On the other hand, I would like the debug-trace
just before throwing the exception. As a case, I might be debugging
code, where the programmar forgot to handle an exception and it is
being caught way up in the flow (with generic catch block)



More information about the Python-list mailing list