/**
@class wxStackWalker
- @wxheader{stackwalk.h}
wxStackWalker allows an application to enumerate, or walk, the stack frames
(the function callstack).
Destructor does nothing neither but should be virtual as this class is used as
a base one.
*/
- ~wxStackWalker();
+ virtual ~wxStackWalker();
/**
This function must be overrided to process the given frame.
notice that Walk() frame itself is not included if skip = 1).
Up to @a maxDepth frames are walked from the innermost to the outermost one.
*/
- void Walk(size_t skip = 1, size_t maxDepth = 200);
+ virtual void Walk(size_t skip = 1, size_t maxDepth = 200);
/**
Enumerate stack frames from the location of uncaught exception.
wxApp::OnFatalException.
Up to @a maxDepth frames are walked from the innermost to the outermost one.
*/
- void WalkFromException(size_t maxDepth = 200);
+ virtual void WalkFromException(size_t maxDepth = 200);
};
/**
@class wxStackFrame
- @wxheader{stackwalk.h}
wxStackFrame represents a single stack frame, or a single function in the call
stack, and is used exclusively together with
can't retrieve the parameters info even although the function does have
parameters).
*/
- size_t GetParamCount() const;
+ virtual size_t GetParamCount() const;
/**
Return @true if we have the file name and line number for this frame.