public string traceToStr() { Buf buf = new MemBuf(1024); trace(buf.@out()); return buf.flip().readAllStr(); }