Skip to content

v0.0.3

Latest
Compare
Choose a tag to compare
@lejar lejar released this 30 Nov 20:14

New features:

  • Added a new submodule which provides some traits that are very useful for debugging
    • traitlite.debug.BreakOnRead
      • initializes debugger when the trait is accessed
    • traitlite.debug.BreakOnWrite
      • initializes the debugger when the trait is written to
    • traitlite.debug.BreakOnChange
      • takes a function which receives the new value and initializes the debugger if said function returns True
    • traitlite.debug.BreakOnChangeDelta
      • takes a function which receives the old and new values and initializes the debugger if said function returns True