DBG_MSG tried to print undefined object msg.