add interfaces and macros defined in DBG.h