The run-time takes 5+ seconds to respond to Debugger.enable
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 32/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- android, javascript
調査の方向性
一覧にある template-master-detail プロジェクトで、Android Pixel 上で tns debug android --start を使って遅延を再現します。runtime が Debugger.enable、scriptParsed、Debugger.setBreakpointByUrl をどのように処理するかを追跡します。デバッガーの初期化とプリセットされたブレークポイントの設定が、5 秒のタイムアウトなしに完了すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Please, provide the details below:
Did you verify this is a real problem by searching Stack Overflow and the other open issues in this repo?
Yes
Tell us about the problem
The run-time takes 5+ seconds to respond to Debugger.enable
Please provide the following version numbers that your issue occurs with:
- CLI: 3.3.1
Please tell us how to recreate the issue in as much detail as possible.
This is reproducible with:
https://github.com/NativeScript/template-master-detail-ts
https://github.com/NativeScript/template-master-detail-ng
https://github.com/NativeScript/template-master-detail-kinvey
against an Android Pixel.
clone https://github.com/NativeScript/template-master-detail-ts
cd template-master-detail-ts
tns platform add android
tns debug android --start
After receiving the Debugger.enable request the run-time would trigger scriptParsed events for all sources in the project (500+ files) first and only then would respond to the Debugger.enable request.
Starting a debug session against any of the listed projects would time out as the JavaScript debugger (Microsoft implementation) in Visual Studio has a non-configurable 5 second timeout on all requests.
In {N} Sidekick the debug session would not timeout but it would still take more than 5 seconds to initialize.
Please note that after receiving a response to Debugger.enable the JavaScript debugger in Visual Studio would start sending Debugger.setBreakpointByUrl for all pre-set breakpoints (again 5s timeout) and if the run-time does not respond to a request the breakpoint would remain inactive.
- 主要言語
- C++
- スター
- 563
- フォーク
- 144
- 平均マージ
- 10時間 46分
- マージ済み PR(30日)
- 14
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NativeScript/android のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
NativeScript/android#2039 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
NativeScript/android#2024 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
NativeScript/android#2020 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 42/100
NativeScript/android#2019 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
NativeScript/android#1986 ·
NativeScript/android の issue をすべて見る
似ている issue
-
[BUG] オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
eunomia-bpf/llvmbpf#51 · コメント 1 件 ·
-
status:needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
PX4/PX4-Autopilot#28776 ·
-
Website Doc Typo オープン
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
-
難易度 1/5 1〜3時間 初心者へのやさしさ 92/100
autowarefoundation/autoware_universe#13413 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100