2.3.17.2. Content¶
Exceptions utilities
-
class
ExceptionDebugger(exit=True, nframe=None)[source]¶ Bases:
objectUsefull for debugging.
Retreive details about exceptions like locals for each frames.
This provides informations about the program state (variables) for each frame of the call stack.
-
bindExceptHook()[source]¶ Install this classe’s exception traceback feature to sys.excepthook.
getDetailedExceptionInfo()will then be called when an exception is not handled by user’s code (and then before exiting).
-
exceptHook(etype, evalue, tb)[source]¶ Exception hook used when installed by
bindExceptHook()
-