Support printing source context out of the box
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
The issue names no files, tests, or entry points. Start by locating the library's existing stack-trace printing functionality and review how source locations are represented across supported platforms. Done means printed traces include source-code context automatically, including on Windows, with coverage for the relevant behavior.
Written by the indexing model from the issue text.
Description
I believe currently the biggest "competitor" to Boost.Stacktrace is 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.
- Dominant language
- C++
- Stars
- 497
- Forks
- 86
- Avg merge
- 8d 20h
- Merged PRs (30d)
- 3
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from boostorg/stacktrace
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
boostorg/stacktrace#233 ·
-
Ошибка в Inscape Open
Difficulty 5/5 Over a week Newbie friendliness 15/100
boostorg/stacktrace#211 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
boostorg/stacktrace#208 · 6 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
boostorg/stacktrace#197 · 3 comments ·
-
enhancement help wanted
Difficulty 5/5 Over a week Newbie friendliness 25/100
boostorg/stacktrace#176 · 1 comment ·
All issues in boostorg/stacktrace
Similar issues
-
ai_reviewed
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ydb-platform/ydb#53869 · 3 comments ·
-
bug cert blocker needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
project-chip/connectedhomeip#74373 ·
-
upstream update
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
conan-io/conan-center-index#31035 ·
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 85/100
vllm-project/vllm-ascend#17329 ·