X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5ff14574fc48a85531252d675b1cf8cfadb65399..c3c62822fdda9d340179dec663a806e905882cc9:/include/wx/msw/stackwalk.h?ds=sidebyside diff --git a/include/wx/msw/stackwalk.h b/include/wx/msw/stackwalk.h index b8ea90e7b9..a5f7e322ac 100644 --- a/include/wx/msw/stackwalk.h +++ b/include/wx/msw/stackwalk.h @@ -90,13 +90,13 @@ 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); + virtual void WalkFromException(size_t maxDepth = 200); // 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_