X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5ff14574fc48a85531252d675b1cf8cfadb65399..c29e714c378d7e3164d71e2c306d990802fe678b:/include/wx/msw/stackwalk.h?ds=sidebyside diff --git a/include/wx/msw/stackwalk.h b/include/wx/msw/stackwalk.h index b8ea90e7b9..ad981d7b45 100644 --- a/include/wx/msw/stackwalk.h +++ b/include/wx/msw/stackwalk.h @@ -90,13 +90,15 @@ public: // only wxStackWalker(const char * WXUNUSED(argv0) = NULL) { } - virtual void Walk(size_t skip = 1); - virtual void WalkFromException(); + virtual void Walk(size_t skip = 1, size_t maxDepth = 200); +#if wxUSE_ON_FATAL_EXCEPTION + virtual void WalkFromException(size_t maxDepth = 200); +#endif // wxUSE_ON_FATAL_EXCEPTION // enumerate stack frames from the given context - void WalkFrom(const _CONTEXT *ctx, size_t skip = 1); - void WalkFrom(const _EXCEPTION_POINTERS *ep, size_t skip = 1); + void WalkFrom(const _CONTEXT *ctx, size_t skip = 1, size_t maxDepth = 200); + void WalkFrom(const _EXCEPTION_POINTERS *ep, size_t skip = 1, size_t maxDepth = 200); }; #endif // _WX_MSW_STACKWALK_H_