简体   繁体   English

iOS-XCode调试

[英]iOS - XCode debug

while i'm debugging my app there is some strange things. 当我调试我的应用程序时,有些奇怪的事情。 In some point the code line isn't be debugged one under another. 在某些时候,代码行不会一一调试。 Example : 范例:

LINE 1
LINE 2
LINE 3

Sometimes LINE 3 is debugged and then Xcode return to line 1 and proceed normally with line 1, 2 and 3. I hope i explained the problem well. 有时调试LINE 3,然后Xcode返回第1行,并正常进行第1、2和3行。我希望我能很好地解释问题。 Thanks 谢谢

一种可能的解释是,优化编译器会对代码进行重新排序,以提高缓存的一致性,避免流水线停顿和其他麻烦。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM