简体   繁体   English

为什么只在调试时才获取值,而不执行?

[英]Why do I only get values when I'm debugging, not executing?

When running in Debug mode, I'm getting a response with the correct format, as below. 在“调试”模式下运行时,得到的响应格式正确,如下所示。 I'm getting 60 values as I parsed: 解析时,我得到60个值:

在此处输入图片说明

But when I remove the breakpoints, I don't get the same things as when in debugging mode, as below: 但是,当我删除断点时,不会得到与在调试模式下相同的东西,如下所示:

在执行模式下

Have I missed something? 我错过了什么吗?

您需要等到URL连接完成后才能开始解析数据。

暂无
暂无

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

相关问题 为什么第一次执行动画时会出现延迟? - Why do I get a delay when executing animations first time? 为什么在为我编写的程序执行 AppleScript 时出现错误 -1708? - Why do I get error -1708 when executing an AppleScript for a program that I wrote? 当我试图在函数中返回此数组时,为什么会出现错误“数组初始值设定项必须是初始化列表”? - Why do I get the error “Array initializer must be an initializer list” when I'm trying to return this array in a function? 为什么在创建项目范围的常量时需要一个实现文件(.m)? - Why do I need an implementation file (.m) when creating project-wide constants? 在XCode中进行调试时,为什么在控制台中出现这些错误? - Why am I getting these Errors in the Console when Debugging in XCode? 为什么在尝试使用presentViewController时出现此错误? - Why do I get this error when trying to use presentViewController? 切换到HTTPS时,为什么要使用NSURLRequest进行身份验证挑战? - Why do i get authenticationchallenge with NSURLRequest when switching to HTTPS? 为什么在尝试将addObject添加到NSMutableArray时会收到SIGABRT - Why do I get SIGABRT when trying to addObject to NSMutableArray 为什么在使用CFPropertyListCreateDeepCopy时会泄漏? - Why do I get a leak when using CFPropertyListCreateDeepCopy? 为什么我会收到NSInvalidArgumentException? - Why do I get a NSInvalidArgumentException?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM