Stack trace line numbers on WASM

Đang mở
#136,676 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp, wasm
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
C#
Star
18.4k
Fork
5.8k
Merge trung bình
2 ngày 15 giờ
Pull request đã merge (30 ngày)
596

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của dotnet/runtime

Tất cả issue của dotnet/runtime

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.