注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

笑遍世界@网易博客

明天还会在路上……

 
 
 

日志

 
 
关于我

Stay hungry, stay foolish. 工作用脑,生活用心! 走过山重水复,必然迎来柳暗花明! 受苦的人没有悲观的权利,远征的人没有流泪的资格。 Live each day as if we should die tomorrow.

网易考拉推荐
 
 

Bug/Debug那些事儿~  

2010-11-05 00:06:23|  分类: 学习方面 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
     作为一名测试工程师,Bug、Debug这两个词语是经常都要用的吧,再熟悉不过的。但你真的了解它们吗? 今天,我就来说说它们的趣事和正经事吧。
趣事篇:
  1937年,一个年轻的美国小伙找到IBM公司要了200万个$ 说要做计算机,第一台成品取名为:马克1号,写代码的是一个小妮–雷斯.霍波。 有一天,她在调试程序时出现故障,经过一阵子周折,发现有只飞蛾被烤糊在两个继电器触点的中间,致使短路。于是乎,打趣地把程序故障统称为“臭虫 (bug)”,把排除程序故障叫Debug,而这奇怪的“称呼”,后来成为计算机领域的专业行话。从而Debug意为程序除错的意思。
参考资料:http://www.nenew.net/debug-meaning.html  (奶牛博客)
A photo of the apocryphally "first" real bug, which was debugged in 1947.  世界上第一个计算机Bug,图片在下面(非常珍贵哦):
http://en.wikipedia.org/wiki/File:H96566k.jpg
Bug/Debug那些事儿~ - 笑遍世界 - 笑遍世界的网上家园
 


正经事:
A software bug is the common term used to describe an error, flaw, mistake, failure, or fault in a computer program or system that produces an incorrect or unexpected result, or causes it to behave in unintended ways. Most bugs arise from mistakes and errors made by people in either a program's source code or its design, and a few are caused by compilers  producing incorrect code. A program that contains a large number of bugs, and/or bugs that seriously interfere with its functionality, is said to be buggy. Reports detailing bugs in a program are commonly known as bug reports, fault reports, problem reports, trouble reports, change requests, and so forth.   --- from wikipedia
Debugging is a methodical process of finding and reducing the number of bugs, or defects, in a computer program or a piece of electronic hardware, thus making it behave as expected. Debugging tends to be harder when various subsystems are tightly coupled, as changes in one may cause bugs to emerge in another. Many books have been written about debugging, as it involves numerous aspects, including: interactive debugging, control flow, integration testing, log files, monitoring, memory dumps, Statistical Process Control, and special design tactics to improve detection while simplifying changes.
参考资料:wikipedia.....
  评论这张
 
阅读(456)| 评论(0)
推荐 转载

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017