Debugging of Python code in embedded interpreter

Scott David Daniels scott.daniels at acm.org
Wed Nov 30 11:05:50 EST 2005


Thomas Korimort wrote:
> Hi!
> 
> I have embedded a Python interpreter into a C++ framework. When running 
> some Python code in the interpreter, how can i get a traceback with line 
> number file..., when an exception occurs?
> 
> Greetings, Thomas Korimort.

Google for "python traceback", there seems to be interesting output.

--Scott David Daniels
scott.daniels at acm.org



More information about the Python-list mailing list