stacktrace
stacktrace copied to clipboard
How could we show line number on mac OS?
We don't have addr2line on macos. I wonder how we can get line information use our macro configuration. I used brew to install boost, and the version is 1.69.0.
After boost::stacktrace::stacktrace(), I only get this output:
0# run() in /Users/xxx/Desktop/./bin/test
1# main in /Users/xxx/Desktop/./bin/test
Thanks in advance :)
atos may help https://www.unix.com/man-page/osx/1/atos/
See also #97 we get on linux too
Hello, did anyone manage to resolve this? Address Sanitizer on Mac manages to get line numbers.