traceback

Python equivalent of PyErr_Print()

What is the Python API equivalent of PyErr_Print(), from the C interface? I'm assuming a call in either the sys, or traceback modules, but can't find any functions therein that make calls to PyErr_Print(). Addendum I'm after the Python call to get the same functionality as PyErr_PrintEx(), described as: Print a standard traceback to ...

packet marking(IP Traceback) in C#

I'm looking for implementation of IP Traceback using packet marking algorithm in C#? I google it but could not find anything!!! any one know a website has this implementation ?? ...

How can I get a traceback in Perl?

Possible Duplicate: How do I force a stack backtrace for all fatal errors in Perl? One of the things I like about Python, is that when a script exits because of an error, it spits out a traceback. I'm wondering is there anyway of getting a Perl to do this as well? ...

How can you inspect the stack trace of an exception in Python?

When an exception occurs in Python, can you inspect the stack? Can you determine its depth? I've looked at the traceback module, but I can't figure out how to use it. My goal is to catch any exceptions that occur during the parsing of an eval expression, without catching exceptions thrown by any functions it may have called. Don't be...

Implementing traceback on i386

Hi, I am currently porting our code from an alpha (Tru64) to an i386 processor (Linux) in C. Everything has gone pretty smoothly up until I looked into porting our exception handling routine. Currently we have a parent process which spawns lots of sub processes, and when one of these sub-processes fatal's (unfielded) I have routines to ...

Twisted Web Proxy Help!!

I wrote a Twisted Python HTTP proxy, and keep getting the following Traceback after navigating to a page through the proxy. Traceback (most recent call last): File "C:\ZBrownTechnology\Web Lock\Proxy.py", line 57, in <module> reactor.run() File "C:\Python26\lib\site-packages\twisted\internet\base.py", line 1165, in run self....