摘要:
TRACE是VC++下强大的打印调试函数今天在做调试的时候总是在TRACE处 ASSERT后来做了一个小测试char str[508];TRACE(str);正常TRACE char str[509]; TRACE(str);ASSERT 弹出断言错误出在 dumpout.cpp中 nBuf = _vsntprintf(szBuffer, _countof(szBuffer), lpszFormat, args);//这一行返回-1 // was there an error? was the expanded string too long? ASSERT(nBuf >= 0);//运 阅读全文