How to Get the Crash Errors When Embedding

Spam Hater never_spam_me at yahoo.com
Wed Sep 12 03:00:43 EDT 2001


Hi All,

I'm happily writing an app that embeds a python
interpreter within a graphical C program.

My big problem for me is that when I have a python
interpreter exception, I can't see the stack dump.

I've redirected sys.stderr and sys.stdout such that
errors should show up in a log file.  And they do, in
fact, if I run my Python script through the command
line interpreter.  But NOT when I run the surrounding
'C' program.

Yeah, I can write little test command line scripts to
try and cause problems to happen, but this doesn't
always help me track down 'insitu' problems and gets
quite tedious.

Any help greatly appreciated!  --matt

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com




More information about the Python-list mailing list