modify DBG_WRITE, format is now like assert and printf
add class SubBuffer