[IPython-user] getting stack trace from pdb instance

Nathan Huesken ipython@lonely-star....
Wed Nov 4 06:23:25 CST 2009


Hi,

Similar to me wanting to get a list of breakpoints from pdb in a
previous post, I now want to get the current stack trace from a pdb
instance.

I know, I can print the stacktrace, but I want to process it in a
program ... I found pdb.stack, but how do I handle that?

Thanks!
nathan


More information about the IPython-user mailing list