Skip to content

Support printing source context out of the box #50

Description

@ArekPiekarz

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions