Stack trace line numbers on WASM

オープン
#136,676 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
csharp, wasm
領域
backend

調査の方向性

Start by reading the WASM native AOT stack trace and virtual IP handling in the runtime; the issue does not name specific files or tests. Determine whether RyuJIT can provide IL-to-virtual-IP mappings and where virtual IPs are set. Done means Exception.StackTrace reports usable line numbers on WASM, with the accepted precision still to be determined.

索引モデルが issue の本文から書いたものです。

説明

arch-wasm area-NativeAOT-coreclr

Line numbers in debuggers should now work on WASM with native AOT.

Line numbers in StackTraces constructed by Exception.StackTrace don't work yet.

The problem there is that these need to be generated from virtual IPs. RyuJIT doesn't currently provide a way to get IL -> virtual IP mapping, and RyuJIT likely currently doesn't set virtual IPs in all places where we would want code location to be observable. Maybe we can live with these not being precise.

主要言語
C#
スター
18.4k
フォーク
5.8k
平均マージ
2日 12時間
マージ済み PR(30日)
600

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

dotnet/runtime のほかの issue

dotnet/runtime の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。