mk wrote: > Hello everyone, > > I'm getting an exception (on socket) handled in a program I'm trying to > debug. I have trouble locating where exactly that happens. > > In such situation turning exception handling off could be useful, bc > unhandled exception stack trace is precisely what I'm trying to obtain. > > Anybody knows of such possibility? > > Regards, > mk > If the exception is currently being trapped by a handler in your code you could just insert a "raise" statement at the start of that handler. This will re-raise the same exception, which will presumably not be caught a second time?
regards Steve -- Steve Holden +1 571 484 6266 +1 800 494 3119 PyCon is coming! Atlanta, Feb 2010 http://us.pycon.org/ Holden Web LLC http://www.holdenweb.com/ UPCOMING EVENTS: http://holdenweb.eventbrite.com/ -- http://mail.python.org/mailman/listinfo/python-list