I have inherited a large Python project in which there are points whereI want to know how I got there. So I would like to see a stracetrace.
It seems that the traceback module can do that, but I need to throw an exception.
Is there a way to get a stacktrace without throwing an exception?