dbg module

dbg.hassert(cond, msg='hassert')

Break in the python debugger if the condition is false

dbg.initpdbpp()

Initialize the python path with a PDB++ path

dbg.msg(*args)

Outputs a message, prepending the file name, line number, and containing function.