We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce93dc7 commit a8b7a91Copy full SHA for a8b7a91
src/from_current.cpp
@@ -614,7 +614,11 @@ CPPTRACE_BEGIN_NAMESPACE
614
CPPTRACE_FORCE_NO_INLINE
615
void maybe_collect_trace(EXCEPTION_POINTERS* exception_ptrs, const std::type_info& type_info) {
616
if(matches_exception(exception_ptrs, type_info)) {
617
+ #ifdef CPPTRACE_UNWIND_WITH_DBGHELP
618
collect_current_trace(2, exception_ptrs);
619
+ #else
620
+ collect_current_trace(2);
621
+ #endif
622
}
623
624
#else
0 commit comments