/**
Constructor does nothing, use Walk() to walk the stack.
*/
- wxStackWalker();
+ wxStackWalker(const char* argv0 = NULL);
/**
Destructor does nothing neither but should be virtual as this class is used as
*/
virtual ~wxStackWalker();
- /**
- This function must be overrided to process the given frame.
- */
- void OnStackFrame(const wxStackFrame& frame);
-
/**
Enumerate stack frames from the current location, skipping the initial
number of them (this can be useful when Walk() is called from some known
Up to @a maxDepth frames are walked from the innermost to the outermost one.
*/
virtual void WalkFromException(size_t maxDepth = 200);
+
+protected:
+ /**
+ This function must be overrided to process the given frame.
+ */
+ virtual void OnStackFrame(const wxStackFrame& frame) = 0;
};
Return @true if at least some values could be retrieved.
This function currently is only implemented under Win32 and requires a PDB file.
*/
- bool GetParam(size_t n, wxString* type, wxString* name,
- wxString* value) const;
+ virtual bool GetParam(size_t n, wxString* type, wxString* name,
+ wxString* value) const;
/**
Return the number of parameters of this function (may return 0 if we