emilk / emilk/loguru

Stack trace line numbers on OSX

Open
#2 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.9k
Forks
280
Avg merge
7m
Merged PRs (30d)
4

Description

Thanks for the awesome library.

Would you be interested in adding line numbers to the stack trace on OSX (if debug symbols are present)? There's some code for doing this (using the `atos` utility) here:
- http://stackoverflow.com/questions/8278691/how-to-fix-backtrace-line-number-error-in-c (2nd answer)
- http://cvs.tekkotsu.org/viewvc/Tekkotsu/Shared/StackTrace.cc?view=markup

On Linux, `addr2line` could be used.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.