use tracef(vs warnf)  here?