三遍九珠算口诀视频:谁能帮忙翻译一下这篇计算机文章?

来源:百度文库 编辑:高考问答 时间:2024/05/01 18:01:07
7.8 Interactive debugging
The procedure described in Section 7.7 made use of the standard syntax of the chosen programming language to output items of data which will enable the run-time operations of the program to be traced. This procedure would be necessary in a situation in which the programmer was obliged to test the program in an off-line manner, that is, by placing it in a job queue and collecting the output some time later.
Most current programming environments permit the programmer to test a program on-line, that is, to run the program while the programmer may monitor its operations on a screen. In such a case, the procedure in Section 7.7 will still work with the output directed to the screen rather than to a printer. The benefit of on-line, or interactive testing is that the trace facilities may be inserted elsewhere if the first test failed to detect the error. This process may be repeated as often as is necessary until the source of any error is eventually tracked down.
The ease with which such insertion and removal of traces within a program may be effected depends on the type of language chosen. For an interpreted language such as BASIC, statements may be inserted and removed extremely easily between successive runs on test data. For compiled languages such as most implementations of COBOL, however, this insertion and removal must be accompanied each time by the laborious process of recompiling and linking the object code. This distinction between interpretive and compiled language is discussed in Chapter 15. To eliminate this tedium, many languages are provided with a software tool typically referred to as an interactive debugger.

7.8 交互式调试 程序描述7.7科利用标准程式语言句法的选择项目数据产出,使临近的时候行动纲领应追查. 这一程序将在必要的情况不得不程式测试计划的脱机方式,把它放在一个人的工作,收集了一段时间后产量. 最新节目许可证程式测试环境计画网上,而节目办监察程式可在屏幕上. 在这种情况下,在第770程序仍与产出上,而不是针对打印机. 造福在线、交互测试,可添加微量其他设施的第一次试验失败了,如果发现错误. 这个过程可能需要反复视任何错误的来源,直到最后追查. 方便地添加和清除这些痕迹,可在节目的类型取决于选择的语言. 一个解释语言等基本报表可插入非常容易清除,对违反间隔测试数据. 语言编写的应用最为教授等,这将增加,每次都必须费力的过程,并把目标代码recompiling. 这个区别的解释和汇编语言15章讨论. 为消除这种欠缺调剂,提供多种语言的工具软件通常称为调试工互动.