All things are difficult before they are easy. 没有软件的裸机是一具僵尸,没有硬件的软件是一个幽灵。2012,专注于Linux和C语言,关注自动化、性能测试,关注开源社区和开源测试工具、方法,尝试测试团队管理!

Bug和Debug的趣事与正事

上一篇 / 下一篇  2010-11-04 23:58:51 / 个人分类:其他技术

    作为一个测试工程师,BugDebug这两个词语是经常都要用的吧,再熟悉不过的。但你真的了解它们吗? 今天,我就来说说它们的趣事和正经事吧。
趣事篇:
  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



正经事:
A software bugis 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

Debuggingis 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.....

TAG: Bug DEBUG Debug 趣事 Debugging

 

评分:0

我来说两句

smile665

smile665

Stay hungry, stay foolish. 得意之时谨记,一半命运还掌握在上帝手里;失意之时须知,一半命运还掌握在自己手里。

日历

« 2024-02-26  
    123
45678910
11121314151617
18192021222324
2526272829  

数据统计

  • 访问量: 950462
  • 日志数: 220
  • 建立时间: 2008-11-06
  • 更新时间: 2012-10-06

RSS订阅

Open Toolbar