Stack trace line numbers on WASM

Aperta
#136,676 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp, wasm
Ambito
backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
C#
Stelle
18.4k
Fork
5.8k
Merge medio
2g 12h
PR unite (30g)
600

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di dotnet/runtime

Tutte le issue di dotnet/runtime

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.