This ensures that you get to know if, due to a bug in the code in this function, the conditions that you expect to be true on exit, are not.
如果由于该函数中代码的错误,您期望退出时为真的条件并不为真,那么这些断言能够确保您知道这一点。
If you cannot recreate the problem just from the bug report, have the customer send you a copy of his configuration file.
如果您无法光凭错误报告来重现问题,那么就叫客户把他的配置文件副本发一份给您。
Try to avoid crowds – you don't want to pick up another bug on the rebound, which is what can happen.
尽量远离人群。你肯定不想再染病上身,而那又是有可能发生的。
Due to a Bug in Sunbird, you can only choose 1-6 days or some multiple of 7 for your alarm setting.
因为Sunbird的bug,你只能够选择1 - 6天或者7的倍数来设置提醒。
Him: True, if you have a single bug at 8pm after a long day, and all you want to do is fix it and go home, you might get tempted to open a debugger and get rid of that thing already, right?
他说:的确,当你辛勤工作到晚上八点但不巧发现了一个错误,你最想做的事绝对是解决它并回到甜蜜的家。这时,你可能会想打开除错程序并摆脱这件事,对吧?
If you want to see this bug in action, try using the -s option, which will give you enough time to swap from one terminal to another and investigate.
如果您想实际体会一下这个bug,试着使用- s选项,这样程序运行时您就有足够的时间在不同的终端间切换并且进行观察。
If you're dealing with a prerelease version of the software, you may have encountered a bug that you'll need to patch yourself.
如果您正在处理软件的一个预发布版本,您可能会遇到一个bug,需要您自己进行修补。
Sure, you could stop feature development and bug fixing and just go for it, but that is not the right way.
当然,你可以停止功能开发、缺陷修复,一门心思地去实现DI,但这并不是正确的做法。
Next time you are faced with squashing a bug in Linux, try one of these tools.
下次当您要摆平Linux中的错误时,请试试这些工具中的某一个。
Bug-tracking systems are common fare for projects, so you can submit a feature request or bug without fear of getting attacked.
bug跟踪系统在这些项目中很常见,所以您尽可以提交一个特性请求或bug,而不必担心受到攻击。
For example, suppose you found a bug and fixed it and now need to push that update out to production.
例如,假设您找到了一个bug并修复了它,现在需要将更新应用到生产环境。
I don't really see it, I don't pay attention to it until there's a, you know, like a bug that's dead on the window.
我并没有看到人性,我也没有注意到,直到……打个比方吧……有一只虫的尸体粘在窗子上面。
However, a question about something you believe to be a bug or possibly a valuable enhancement is definitely valid -- indeed, it's very welcome.
但是,如果您认为某一问题是一个bug,或者是一个值得改进的地方,那么在这里提这种问题就非常合适 ——实际上,这非常受欢迎。
InfoQ: What do you think about the integration of bug trackers with the mainstream IDEs?
InfoQ:对于bug追踪器与主流ide的集成,你怎么看?
But what happens when you have 100 classes and a bug crops up?
但是,当您有100个类,并且突然出现一个错误时,会发生什么呢?
You should take care to do a complete fix instead of a quick patch, and you should add documentation if the bug is likely to occur in the same place.
您应该花时间去做一个完整的修正,而不是仅仅打一个补丁了事,如果错误可能会出现在同一位置,您还应该添加文档。
It'd be nice if you could fix a bug in the library and not have to recompile a thousand programs to take advantage of that fix.
如果可以修正程序库中的缺陷,而且不必重新编译上千个程序,就可以利用这一修正功能,这将是非常令人愉快的。
First I'll provide a rationale for why custom bug detectors are useful, then I'll walk you through a detailed example.
首先,我将说明为什么自定义缺陷检测器很有用,然后我将引导读者完成一个详细的例子。
When you have two sets of annotation handlers, any bug fix, change, or addition should be applied to both sets (or branches).
当拥有两套注释处理程序时,任何错误修正、变更、或者增加都应当对两套(或分支)同时应用。
You can learn to recognize bug patterns as the sum of their parts, so that certain signals will act as red flags when you're writing code or during code reviews.
您可以学习从整体上把握缺陷模式的方法,这样在您编写代码或检查代码时就能够发现一些特定的问题线索。
Whatever you do, don't put winter clothes in storage areas that are bug-addled or dirty-unless you want to throw them out next year.
不论你采用什么方法,不要将冬季衣物放进那些被虫子侵蚀的储存柜- - - - - -除非你打算明年扔到这些衣物。
At runtime, when a bug is discovered, whatever annotations you attach to the bug instance will be substituted into the description.
在运行时,如果发现缺陷,附加在缺陷实例上的注释将替换到描述中。
Before you run a program or attach to an already running program, list the source code where you believe the bug is, set breakpoints, and then start debugging the program.
在运行程序或连接到已经运行的程序之前,请列出您觉得有错误的源代码,设置断点,然后开始调试程序。
It appears to be reasonably stable, but you'll need to update to the latest development code (or wait for a new beta release) any time you run into a bug that you need fixed.
它看起来相当稳定,但每当遇到需要修正错误时,您将需要更新到最新的开发代码(或等待新的beta测试发行版)。
Make sure you provide detailed steps to reproduce the bug, and attach any file that may be helpful.
一定要详细描述重现这个bug的步骤,并且附上可能有帮助的任何文件。
To write bug detectors, you need some understanding of the structure of JVM bytecode and of class files.
要编写bug检测器,则需要了解JVM字节码和类文件的一些结构。
You can poke around the bug and feature-request trackers, dredging up discussions on bugs opened and closed.
您可以查看bug和特性请求跟踪器,还可以在开放和关闭的bug讨论中挖掘信息。
You can poke around the bug and feature-request trackers, dredging up discussions on bugs opened and closed.
您可以查看bug和特性请求跟踪器,还可以在开放和关闭的bug讨论中挖掘信息。
应用推荐