spintf for debug