CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
花落谁家,你作主! 盛大widget设计大赛英雄榜
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  VC/MFC >  基础类

求助!关于调试!

楼主Blue_Story(蓝夜传说)2005-06-03 00:12:54 在 VC/MFC / 基础类 提问

做了一段时间的VC程序,可是对调试方面的能力实在……都知道程序是调出来的,所以请教高手程序怎么调啊   ?有没有这方面的书籍介绍一下!急急急!  
        谢谢先   ! 问题点数:0、回复次数:2Top

1 楼krh2001(边城浪子)回复于 2005-06-03 00:40:27 得分 0

好象几天前     laiyiling   (陌生人·V2.0〓Happiness)     写过一篇有关调试的文章,   问问它Top

2 楼FengYuanMSFT((6.4 被封杀)袁峰 http://fengyuancom.spaces.live.com)回复于 2005-06-03 01:46:22 得分 0

>   都知道程序是调出来的  
   
  I   do   not   like   this   statement.  
   
  Program   is   produced   through   good   specification,   design,   and   testing.   Debugging   is   just   one   part   of   the   whole   procress.  
   
  程序怎么调:  
   
  1)   Start   with   good   design   specification.  
  2)   Write   good   quality   program   in   the   first   place,   try   to   prove   your   code   in   your   mind   is   right   when   you   write   code.  
  3)   Add   lots   of   asserts.  
  4)   Add   debug-build   only   code   to   send   important   information   to   console   for   tracing.   So   you   know   what   important   things   are   happening   with   the   program.  
  5)   Write   test   cases,   run   them   before   every   code   check-in.  
  6)   Step   through   every   line   of   new   code.  
  7)   Learn   about   compiler   code   generation,   assembly   code,   how   to   use   debugger   effectively.  
  8)   Learn   how   to   fine   tuning   performance.  
  Top

相关问题

  • 调试
  • ========调试???????????========
  • 调试
  • 调试工具!!!
  • ActiveForm的调试?
  • jbuilder调试ejb.
  • 如何调试?
  • 调试两问
  • OnDraw调试
  • 关于调试

关键词

  • code
  • program
  • 程序
  • good
  • write

得分解答快速导航

  • 帖主:Blue_Story

相关链接

  • Visual C++类图书
  • Visual C++类源码下载

广告也精彩

反馈

请通过下述方式给我们反馈
反馈
提问
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|问题报告
北京创新乐知广告有限公司 版权所有, 京 ICP 证 070598 号
世纪乐知(北京)网络技术有限公司 提供技术支持
Copyright © 2000-2008, CSDN.NET, All Rights Reserved
GongshangLogo