Unable to wait for more than ~20 seconds on application start with --debug-brk
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- ios, javascript
- 领域
- cli, devtools, mobile-dev
调研方向
从 tns debug ios --debug-brk 入口点开始,检查 ios-device-lib 对 waitForDebugger 的处理,并将其与 iOS 模拟器应用管理器的行为进行比较。在真实的 iOS 设备上重现,并验证附加原生调试器后,应用和 Chrome 调试器的连接能够保持超过 30 秒。
由索引模型根据 Issue 内容生成。
描述
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
- CLI: 5.2.0 (the current
next) - Cross-platform modules: 5.1.0
- iOS Runtime: 5.1.1
To Reproduce
tns create myApp --jstns debug ios --debug-brk(on a real iOS device)- open the debug URL in chrome
- wait on the first line for more than 30 seconds (the app will be killed and the debugger disconnected)
Expected behavior
You should be able to wait there as much as you want
Additional context
The app is killed by iOS. We've solved this issue for simulators by attaching an lldb debugger to the application (check out the iOS simulators application manager). We should implement a similar solution in the ios-device-lib - we could use some gdb options in order to attach a native debugger to the app when waitForDebugger is passed.
- 主要语言
- JavaScript
- 星标
- 1.1k
- 派生
- 204
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 8
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NativeScript/nativescript-cli 的其他 Issue
-
in-progress
NativeScript/nativescript-cli#6140 · 2 条评论 · 已指派 1 人 ·
-
NativeScript/nativescript-cli#6090 · 已指派 1 人 ·
-
in progress
NativeScript/nativescript-cli#6015 · 1 个 reaction · 已指派 1 人 ·
-
question
难度 4/5 3-5 天 新手友好度 48/100
NativeScript/nativescript-cli#5992 · 5 条评论 ·
-
feature-pending-triage
难度 4/5 3-5 天 新手友好度 35/100
NativeScript/nativescript-cli#5975 ·
查看 NativeScript/nativescript-cli 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
-
难度 2/5 1-3 小时 新手友好度 86/100
sugarlabs/musicblocks#8847 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
-
Request: SumUp 未关闭new icon permissions in review
难度 2/5 1-3 小时 新手友好度 72/100
simple-icons/simple-icons#15027 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
TheOdinProject/curriculum#31408 ·