string 不能打印
Breakpoint 1, CURLParser::OnData (this=0xb754ec8c, strData=...) at util/urlparser.cpp:12831283 if( (m_strAllText.length()+strData.cbData)< 800960 ){(gdb) n1284 m_strAllText += " ";(gdb) n1285 string my(strData.pbData,strData.cbData);(gdb) p strData.pbData$1 = 0x8286233 "中心</title>\r\n\t\r\n\t<link type=\"text/css\" rel=\"stylesheet\" href=\"http://a.tbcdn.cn/tbsp/tbsp.css\">\r\n\t<link type=\"text/css\" rel=\"stylesheet\" href=\"http://rootsir.com/apps/matrixtry/c"...(gdb) n1286 m_strAllText+ my;(gdb) p my$2 = Traceback (most recent call last): File "/usr/share/gdb/python/libstdcxx/v6/printers.py", line 469, in to_string return self.val['_M_dataplus']['_M_p'].string (encoding, length = len) File "/usr/lib/python2.4/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True)UnicodeDecodeError: 'utf8' codec can't decode bytes in position 23-24: unexpected end of data(gdb) l1281 else1282 {1283 if( (m_strAllText.length()+strData.cbData)< 800960 ){1284 m_strAllText += " ";1285 string my(strData.pbData,strData.cbData);1286 m_strAllText+ my;1287 }1288 if(m_vecText.size())1289 {1290 if(m_vecText.back().text=="")(gdb)