File: stackframe.tex

package info (click to toggle)
wxwidgets2.8 2.8.10.1-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 239,052 kB
  • ctags: 289,550
  • sloc: cpp: 1,838,857; xml: 396,717; python: 282,506; ansic: 126,171; makefile: 51,406; sh: 14,581; asm: 299; sql: 258; lex: 194; perl: 139; yacc: 128; pascal: 95; php: 39; lisp: 38; tcl: 24; haskell: 20; java: 18; cs: 18; erlang: 17; ruby: 16; ada: 9; ml: 9; csh: 9
file content (126 lines) | stat: -rw-r--r-- 3,417 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Name:        stackframe.tex
%% Purpose:     wxStackFrame documentation
%% Author:      Vadim Zeitlin
%% Created:     2005-01-19
%% RCS-ID:      $Id: stackframe.tex 32309 2005-02-22 15:09:56Z ABX $
%% Copyright:   (c) 2005 Vadim Zeitlin
%% License:     wxWindows license
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\section{\class{wxStackFrame}}\label{wxstackframe}


wxStackFrame represents a single stack frame, or a single function in the call
stack, and is used exclusively together with 
\helpref{wxStackWalker}{wxstackwalker}, see there for a more detailed
discussion.


\wxheading{Derived from}

No base class

\wxheading{Include files}

<wx/stackwalk.h>

Only available if \texttt{wxUSE\_STACKWALKER} is $1$, currently only
implemented for Win32 and Unix versions using recent version of GNU libc.

\wxheading{See also}

\helpref{wxStackWalker}{wxstackwalker}


\latexignore{\rtfignore{\wxheading{Members}}}


\membersection{wxStackFrame::GetAddress}\label{wxstackframegetaddress}

\constfunc{void*}{GetAddress}{\void}

Return the address of this frame.


\membersection{wxStackFrame::GetFileName}\label{wxstackframegetfilename}

\constfunc{wxString}{GetFileName}{\void}

Return the name of the file containing this frame, empty if
unavailable (typically because debug info is missing).

Use \helpref{HasSourceLocation}{wxstackframehassourcelocation} to check whether
the file name is available.


\membersection{wxStackFrame::GetLevel}\label{wxstackframegetlevel}

\constfunc{size\_t}{GetLevel}{\void}

Get the level of this frame (deepest/innermost one is $0$).


\membersection{wxStackFrame::GetLine}\label{wxstackframegetline}

\constfunc{size\_t}{GetLine}{\void}

Return the line number of this frame, $0$ if unavailable.

\wxheading{See also}

\helpref{GetFileName}{wxstackframegetfilename}


\membersection{wxStackFrame::GetModule}\label{wxstackframegetmodule}

\constfunc{wxString}{GetModule}{\void}

Get the module this function belongs to (empty if not available).


\membersection{wxStackFrame::GetName}\label{wxstackframegetname}

\constfunc{wxString}{GetName}{\void}

Return the unmangled (if possible) name of the function containing this
frame.


\membersection{wxStackFrame::GetOffset}\label{wxstackframegetoffset}

\constfunc{size\_t}{GetOffset}{\void}

Return the return address of this frame.


\membersection{wxStackFrame::GetParam}\label{wxstackframegetparam}

\constfunc{bool}{GetParam}{\param{size\_t }{n}, \param{wxString * }{type}, \param{wxString * }{name}, \param{wxString * }{value}}

Get the name, type and value (in text form) of the given parameter.
Any pointer may be \texttt{NULL} if you're not interested in the corresponding
value.

Return \true if at least some values could be retrieved.

This function currently is only implemented under Win32 and requires a PDB
file.


\membersection{wxStackFrame::GetParamCount}\label{wxstackframegetparamcount}

\constfunc{size\_t}{GetParamCount}{\void}

Return the number of parameters of this function (may return $0$ if we
can't retrieve the parameters info even although the function does have
parameters).


\membersection{wxStackFrame::HasSourceLocation}\label{wxstackframehassourcelocation}

\constfunc{bool}{HasSourceLocation}{\void}

Return \true if we have the file name and line number for this frame.