Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4741339
  • 博文数量: 930
  • 博客积分: 12070
  • 博客等级: 上将
  • 技术积分: 11448
  • 用 户 组: 普通用户
  • 注册时间: 2008-08-15 16:57
文章分类

全部博文(930)

文章存档

2011年(60)

2010年(220)

2009年(371)

2008年(279)

分类: WINDOWS

2010-04-19 12:17:19

DebugView使用
1,Google 可以随处下载到

2,以前在自己调试代码过程中 常使用MessageBox 观察,真是比较汗呀 呜呜

3,老师介绍DebugView,确实比较好用

View Code CPP 1
2
3
char strDebug[256]={0};
sprintf(strDebug, "this is a log: %d", nID );
OutputDebugString(strDebug);



以前的MessageBox 现在全用OutputDebugString代替 在DebugView就可以看到 不但本机可以显示调试结果 DebugView还提供remote 呵呵 学习了

DebugView可以进行日志过滤,如果在循环中进行调试时,那数据可能会很巨大,无效的日志肯定会很多,不利于我们分析,用DebugView可以设置过滤条件,过滤掉对我们无用的信息。
比如如果上面一句Log,当nID=0时是正常信息,我们可以不用显示,那可以在DebugView中这样设置:

同时觉得自己挖掘信息能力很不成熟哦 呜呜  
阅读(3311) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2010-06-01 06:32:40

MBT is based on Africa's indigenous people to create innovative walking barefoot, and wear this shoe can stimulate the body to relax the muscles so that the muscles of heat to be released, consumed calories, thus to achieve weight loss results. MBT's pursuit of beauty in order to satisfy customers, design a variety of styles, such as Mbt Chapa shoe, MBT Lami Shoe