By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,427 Members | 1,354 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,427 IT Pros & Developers. It's quick & easy.

Detailed traceback

P: n/a
I have been working on handling unhanded exceptions and making a
detailed print out of the traceback after the exception. I found that
traceback.extract_tb worked nice and was quite simple.

During my searching around I found out that it might be possible to
get the variables and their respective values for each frame. I found
this: http://aspn.activestate.com/ASPN/Coo...n/Recipe/52215 to
be extremely helpful.

My only problem with that is that there appears to be no way to get
the line of code for a frame.

So I was wondering if it was possible to get the line of code for a frame.

--
-Echo
Sep 12 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.