NativeScript / NativeScript/nativescript-cli

debug android --debug-brk do not stop if app is not deployed

未关闭
#4,567 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

bug debug severity: low
主要语言
JavaScript
星标
1.1k
派生
204
平均合并
1 天 9 小时
30 天内合并 PR
8

描述

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.3.1
  • Cross-platform modules: 5.3
  • Android Runtime: 5.3
  • iOS Runtime: 5.3
  • Plugin(s): No

Describe the bug
tns debug android --debug-brk do not stop on first line if app is not previously deployed.

To Reproduce

tns create TestApp --js
tns debug android --debug-brk --path TestApp

Expected behavior
debug android --debug-brk to stop on first line of code.

Additional context
No issues with command above if tns run android is executed before that (app is available on device).

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先使用 tns create TestApp --jstns debug android --debug-brk --path TestApp 重现该行为,然后将其与运行 tns run android 后的结果进行比较。跟踪 debug android 命令对未部署应用的处理;当 --debug-brk 无需事先部署即可在第一行停止时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
android, javascript
领域
cli, mobile
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。