jgdv.debugging

Utilities for debugging.

Provides:

  1. SignalHandler : For installing handlers for interrupts

  2. TimeCtx : A CtxManager for simple timing

  3. TimeDec : A Decorator to time functions

  4. TracebackFactory : For slicing the traceback provided in exceptions

  5. TraceContext : A CtxManager for tracing function calls.

  6. MallocTool : For profiling memory usage.

  7. LogDel : A class decorator for logging when __del__ is called

Submodules