调试执行冒险 [英] Debug-Execution Adventure
本文介绍了调试执行冒险的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
当调试器引入的放缓确实掩盖了一些竞争条件,但这通常只适用多线程或网络代码。
I debugged my java code. It didn't give any errors.But when i executed it (it isn't giving errors either, but) the code didn't successfully terminate. This is very funny. But is that even possible?
解决方案
sure, when the slowdown introduced by debugger does mask some race condition, but this normally only applies to multi-threading or networking code.
这篇关于调试执行冒险的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文