]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/stackframe.tex
Added wxDataViewModel::GetChildren() (removed GetSibling() and GetFirstChild())
[wxWidgets.git] / docs / latex / wx / stackframe.tex
CommitLineData
a256039a
VZ
1%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2%% Name: stackframe.tex
3%% Purpose: wxStackFrame documentation
4%% Author: Vadim Zeitlin
5%% Created: 2005-01-19
6%% RCS-ID: $Id$
7%% Copyright: (c) 2005 Vadim Zeitlin
8795498c 8%% License: wxWindows license
a256039a
VZ
9%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
10
11\section{\class{wxStackFrame}}\label{wxstackframe}
12
13
14wxStackFrame represents a single stack frame, or a single function in the call
15stack, and is used exclusively together with
16\helpref{wxStackWalker}{wxstackwalker}, see there for a more detailed
17discussion.
18
19
20\wxheading{Derived from}
21
22No base class
23
24\wxheading{Include files}
25
26<wx/stackwalk.h>
27
a7af285d
VZ
28\wxheading{Library}
29
30\helpref{wxBase}{librarieslist}
31
a256039a
VZ
32Only available if \texttt{wxUSE\_STACKWALKER} is $1$, currently only
33implemented for Win32 and Unix versions using recent version of GNU libc.
34
35\wxheading{See also}
36
37\helpref{wxStackWalker}{wxstackwalker}
38
39
40\latexignore{\rtfignore{\wxheading{Members}}}
41
42
43\membersection{wxStackFrame::GetAddress}\label{wxstackframegetaddress}
44
45\constfunc{void*}{GetAddress}{\void}
46
47Return the address of this frame.
48
49
50\membersection{wxStackFrame::GetFileName}\label{wxstackframegetfilename}
51
52\constfunc{wxString}{GetFileName}{\void}
53
54Return the name of the file containing this frame, empty if
55unavailable (typically because debug info is missing).
56
b7d21695 57Use \helpref{HasSourceLocation}{wxstackframehassourcelocation} to check whether
a256039a
VZ
58the file name is available.
59
60
61\membersection{wxStackFrame::GetLevel}\label{wxstackframegetlevel}
62
63\constfunc{size\_t}{GetLevel}{\void}
64
65Get the level of this frame (deepest/innermost one is $0$).
66
67
68\membersection{wxStackFrame::GetLine}\label{wxstackframegetline}
69
70\constfunc{size\_t}{GetLine}{\void}
71
72Return the line number of this frame, $0$ if unavailable.
73
74\wxheading{See also}
75
76\helpref{GetFileName}{wxstackframegetfilename}
77
78
79\membersection{wxStackFrame::GetModule}\label{wxstackframegetmodule}
80
81\constfunc{wxString}{GetModule}{\void}
82
83Get the module this function belongs to (empty if not available).
84
85
86\membersection{wxStackFrame::GetName}\label{wxstackframegetname}
87
88\constfunc{wxString}{GetName}{\void}
89
90Return the unmangled (if possible) name of the function containing this
91frame.
92
93
94\membersection{wxStackFrame::GetOffset}\label{wxstackframegetoffset}
95
96\constfunc{size\_t}{GetOffset}{\void}
97
98Return the return address of this frame.
99
100
101\membersection{wxStackFrame::GetParam}\label{wxstackframegetparam}
102
103\constfunc{bool}{GetParam}{\param{size\_t }{n}, \param{wxString * }{type}, \param{wxString * }{name}, \param{wxString * }{value}}
104
105Get the name, type and value (in text form) of the given parameter.
b7d21695 106Any pointer may be \texttt{NULL} if you're not interested in the corresponding
a256039a
VZ
107value.
108
109Return \true if at least some values could be retrieved.
110
111This function currently is only implemented under Win32 and requires a PDB
112file.
113
114
115\membersection{wxStackFrame::GetParamCount}\label{wxstackframegetparamcount}
116
117\constfunc{size\_t}{GetParamCount}{\void}
118
119Return the number of parameters of this function (may return $0$ if we
120can't retrieve the parameters info even although the function does have
121parameters).
122
123
124\membersection{wxStackFrame::HasSourceLocation}\label{wxstackframehassourcelocation}
125
126\constfunc{bool}{HasSourceLocation}{\void}
127
128Return \true if we have the file name and line number for this frame.
129
130