diff --git a/include/boost/stacktrace/detail/frame_msvc.ipp b/include/boost/stacktrace/detail/frame_msvc.ipp index 31bbbb4..d061f3d 100644 --- a/include/boost/stacktrace/detail/frame_msvc.ipp +++ b/include/boost/stacktrace/detail/frame_msvc.ipp @@ -35,7 +35,7 @@ namespace boost { namespace stacktrace { namespace detail { std::size_t this_thread_frames::collect(void** memory, std::size_t size, std::size_t skip) BOOST_NOEXCEPT { return ::CaptureStackBackTrace( - skip + 1, + skip + 2, static_cast(size), memory, 0