V8 log files are not availables
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- android, cpp
- 领域
- mobile-dev
调研方向
从 src/package.json 中的 V8 标志开始,跟踪 tns debug android 如何将它们传递给 Android 运行时。检查 logcat 和设备文件在哪里接收 V8 输出,然后验证 --prof 会生成 v8.log,而 --logfile 会使用请求的文件名。
由索引模型根据 Issue 内容生成。
描述
Environment
- CLI: 5.4.0
- Cross-platform modules: 5.4.2
- Android Runtime: 5.4.0
Describe the bug
V8 options can be passed on Android, but the default v8.log file is nowhere to be seen. Because of that, V8 profiling is not available.
To Reproduce
- Add
--profin v8 flags tns debug android
Problem : v8 logs are not traced in tns, logcat nor a file.
Expected behavior
v8 default log file (v8.log) should be written on Android device and available. Also, --logfile should enable the filename customization.
Sample
src/package.json
{
"main": "main.js",
"android": {
"v8Flags": "--expose_gc --prof --log-timer-events"
}
}
- 主要语言
- C++
- 星标
- 563
- 派生
- 144
- 平均合并
- 10 小时 46 分钟
- 30 天内合并 PR
- 14
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NativeScript/android 的其他 Issue
-
难度 5/5 一周以上 新手友好度 38/100
NativeScript/android#2039 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 48/100
NativeScript/android#2024 ·
-
难度 5/5 一周以上 新手友好度 20/100
NativeScript/android#2020 ·
-
难度 5/5 一周以上 新手友好度 42/100
NativeScript/android#2019 ·
-
难度 4/5 3-5 天 新手友好度 55/100
NativeScript/android#1986 ·
查看 NativeScript/android 的全部 Issue
相似的 Issue
-
难度 1/5 1-3 小时 新手友好度 92/100
autowarefoundation/autoware_universe#13413 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
-
automated-analysis bug memory-safety
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 86/100
-
Sensor initialization takes very long when `--initial-sim-time` is set to current UNIX timestamp 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
gazebosim/gz-sensors#662 · 1 条评论 ·