boostorg / stacktrace

C++ library for storing and printing backtraces.
https://boost.org/libs/stacktrace
433 stars 74 forks source link

WIP: Collect at most as many frames as requested. #67

Closed JanEisenhauer closed 6 years ago

JanEisenhauer commented 6 years ago

Regardless of any user provided maximum stack depth boost::stacktrace::basic_stacktrace<>::init will try to obtain 128 stack frames.

For older Microsoft platforms like Windows Server 2003 and Windows XP this is problematic as RtlCaptureStackBacktrace has a stricter limit on the stack depth.

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 90.044% when pulling 5e85e7414ab6006c398385593338dba5e0b9e4c6 on JanEisenhauer:develop into 4123beb4af6ff4e36769905b87c206da39190847 on boostorg:develop.

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 90.044% when pulling 5e85e7414ab6006c398385593338dba5e0b9e4c6 on JanEisenhauer:develop into 4123beb4af6ff4e36769905b87c206da39190847 on boostorg:develop.

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-0.04%) to 90.0% when pulling cbd625bd913e2a075a2896db2b6cf8d2fe39f9f8 on JanEisenhauer:develop into 4123beb4af6ff4e36769905b87c206da39190847 on boostorg:develop.

apolukhin commented 6 years ago

Awesome! Many thanks for the patch!