boostorg / boostorg/stacktrace

Support printing source context out of the box

Đang mở
#50 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement help wanted
Ngôn ngữ chính
C++
Star
494
Fork
86
Merge trung bình
8 ngày 20 giờ
Pull request đã merge (30 ngày)
3

Mô tả

I believe currently the biggest "competitor" to Boost.Stacktrace is [Backward-cpp](https://github.com/bombela/backward-cpp). Its main strength is automatic printing of source code context for every frame in the stack trace.

That difference doesn't seem like much at a glance, but it changes the way you develop your programs. You no longer have to manually copy-paste locations from the trace to check what code was in there. Of course the users can automate this functionality themselves, but it would lead to a lot of duplication across projects.

The only downside of Backward-cpp that I noticed so far is lack of support for Windows. Boost.Stacktrace already works there, so if this feature request was implemented, it could improve popularity of this library.

If you are more interested in pushing Boost.Stacktrace as a standard, the proposed feature could also be included in the paper.

Thanks in advance for your consideration.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Issue không nêu tên tệp, bài kiểm thử hoặc điểm vào nào. Hãy bắt đầu bằng cách xác định chức năng hiện có của thư viện để in stack trace và xem xét cách các vị trí mã nguồn được biểu diễn trên các nền tảng được hỗ trợ. Được xem là hoàn tất khi các trace được in tự động bao gồm ngữ cảnh mã nguồn, kể cả trên Windows, với độ bao phủ cho hành vi liên quan.

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

Đánh giá

Công nghệ
cpp
Lĩnh vực
devtools
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
25/100

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.