Some concurrency bugs won't break your code, but they can lead to poor application performance. Consider the synchronized block in Listing 5
有一些并发缺陷有时不会使代码出错,但是它们可能会降低应用程序的性能。
It is critical that your assumptions be carefully documented and these patterns strongly encapsulated because very small changes can break your code!
因此,必须对假设的条件仔细证明,并且这些模式被严格地封装了起来,因为即使非常小的更改也会损坏您的代码!
It is a bad idea to rely on this kind of security, however, because skilled attackers are still going to be able to break your code if it wasn't designed properly in the first place.
但是,依靠这种安全性不是个好主意,因为如果程序码首先设计有问题的话,技术高超的攻击者仍能破坏它。
If you break something, it's your responsibility to fix it, no matter where it is in the code.
如果您破坏了某些事物,您要负责进行修补,无论它位于代码的哪一部分。
When you modify old code you have to both test your changes and then perform a set of regression tests to make sure you didn't break any of the existing code.
而当你修改旧有代码时,你不得不既要测试你更改的部分,还要进行一系列的兼容测试,以保证你没有破坏任何的旧有代码。
Break down your tasks into sub tasks that you think should take no longer than 4-12 hours to code.
分解大任务为一系列的子任务,这些子任务最多不需要你花4 - 12个小时来编码。
The changes I make on the server break the code on your development machine. Remote development is slow and difficult.
开发人员相互覆盖彼此所做的修改,我在服务器上所做的改变让你的开发机器上的代码中断运行,这些都让远程开发速度很慢而且非常困难。
It is a good idea to already have your break point set in the agent code.
最好是代理代码中已经设置了断点。
But the real problem with unit tests as I've discovered is that the type of changes that you tend to make as code evolves tend to break a constant percentage of your unit tests.
但我认为单元测试的真正问题在于人们改进代码的同时也会破坏同等数量的单元测试。
Once you've tested the basic functionality of an application, it becomes important to consider alternate pathways through the code. In most languages, you can break up your tests as follows.
当您已经测试了应用程序的基本功能,考虑代码中的替代路径就变得非常重要了。
If you have set your code to look pretty with lots of indents, have you checked to see if there are any TAB codes at the end of the line before the line break?
如果你将你的代码设置地非常好看,拥有许多的缩进,你有没有检查在每行的结束之后,行分隔符之前,有没有任何标签代码?
Because people using version 1 of your JAR file have references to com.A in their code, simply upgrading to the new version of the library will break their existing code.
由于使用JAR文件版本1的人在其代码中还存在对com . A的引用,如果只是简单地升级成新版本的库,无疑会破坏他们现有的代码。
Not only does this allow you to pinpoint who is messing up your code and educate them, but it gives you the option to roll back changes that completely break your project.
这不仅让你找出是谁把你的代码和教育他们,但它让你选择回滚的变化,彻底打破你的项目。
When your application code is covered by unit tests, you can modify the code without the fear that the modifications will break the functionality of your code.
当您应用程序的代码被单元测试所覆盖时,您可以修改代码而无需担心这些修改会破坏代码所实现的功能。
You can also use the Builds check-in policy as a tool to limit additional changes to your code base until a continuous build break is fixed.
您也可以使用作为工具的组建签入原则,来限制到您的程序码基底的额外的变更,直到连续建置中断固定。
You have no control over that and your code will break in wildly unpredictable ways if it occurs.
你无法控制,你的代码会疯狂的不可预知的方式,如果它发生。
If you have set breakpoints in your code, execution will break at the first breakpoint.
如果已在代码中设置了断点,执行会在第一个断点处中断。
You can set breakpoints in the GPU code in the VS side (your host machine), and it should break there.
你可以设置断点的GPU代码在对侧(主机),它应该打破那里。
You can create unit tests to verify your code and check that changes to your code do not break existing functionality.
可以创建单元测试来验证代码,并检查对代码的更改是否未破坏现有功能。
You can use edit and continue to edit your code in Break mode, and then continue without stopping and restarting execution.
可以在中断模式下使用“编辑并继续”编辑代码,然后不必停止和重新启动执行即可继续。
Sometimes your code may break in the message pump.
有时,代码可能在消息泵中中断。
Discusses the debugging feature that enables you to make changes to your code while it is executing in Break mode.
讨论一些侦错功能,这些功能可让您在中断模式下执行程序码时,对程序码进行变更。
When you apply code changes explicitly, your program remains in break mode - no execution occurs.
当显式应用代码更改时,程序保持在中断模式下,不会执行。
When you apply code changes explicitly, your program remains in break mode - no execution occurs.
当显式应用代码更改时,程序保持在中断模式下,不会执行。
应用推荐