流年

debug信息记录

2009年3月13日 阅读(27)

1.产生输入:debug_log("InputProducer Constructor:" ,"succefull!");

2.生成请求:debug_log("Request Constructor:" ,"succefull!");

3.监控getNextUrl:
        debug_log(info.source_site_name+"-SearchExpression::getNextUrl:" ,"get Next:" + itoa(m_start) + "-" + itoa(m_end));

4.查看真正的url内容(zz负责显示):

5.查看下载后,交给HtmlParser::webParse的网页原始内容

debug_log("HtmlParser::webParse:download web:" ,web_text.text);

6.查看HtmlParser::webParse可能出现的异常

debug_log(web_text.getSiteName()+"-HtmlParser::webParse:",exception_str);

7.解析后的结果的string

debug_log("HtmlDisplay::show result to string:",(m_items[i]-> second).toString());

8.查看生成的html页面

debug_log("HtmlDisplay::show:html web result" ,res);

You Might Also Like