LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1219|回复: 4

关于程序调试的一段英文,小弟翻译不好,请大家帮帮忙?

[复制链接]
发表于 2005-12-5 10:36:23 | 显示全部楼层 |阅读模式
It is possible because of the nature of this particular problem that your code will not exit with thesame failure, or may not even fail at all. Many of the memory values that are mentioned in the upcoming text will vary from machine to machine, and you should not be concerned by this.
You can set break points by typing ’break’ and the line number of where the breakpoint is in the original source code. With a larger piece of source code it would be necessary to narrow down where in the code the failure might be occurring by setting breakpoints around the major functions; here it is a little bit unnecessary, but we will go ahead and walk through the steps.
发表于 2005-12-9 09:18:02 | 显示全部楼层
只能帮顶!!
回复 支持 反对

使用道具 举报

发表于 2006-1-2 11:41:54 | 显示全部楼层
很可能是因为问题的特殊性,而让你的和序因为同样的错误退出.否则程序甚至不会失败.在UPCOMING的文本中相关的内存值,因为机器的不同而改变. 你也可以不去考虑这些.
你可以通过输入"BREAK"和行号在源文件中设置断点.当有一大段代码时,有必要在主函数中设置断点,来缩小程序代码出错的范围.在这里有一点不必要.但我们将开始并执行这些步骤.
//是一个教程吗.UPCOMING的那个我也翻译不好,应该要上下文吧.
回复 支持 反对

使用道具 举报

发表于 2006-1-2 23:46:11 | 显示全部楼层
第一句话翻译的不准确。大意应该是:

由于这个问题的特性(nature), 有时程序不会由于同样的错误而退出,甚至连错误都不会出现。
(抱歉我不会直译,中文不好。)

upcoming 指的是下文。
回复 支持 反对

使用道具 举报

发表于 2006-1-6 11:58:21 | 显示全部楼层
特殊问题的本性
问题的特殊性,应该可以吧

从小就在Canada?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表