File: InteractiveDebugger_8hpp_source.html

package info (click to toggle)
xqilla 2.3.3-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 44,220 kB
  • ctags: 27,890
  • sloc: cpp: 72,812; ansic: 21,322; sh: 10,157; yacc: 4,806; xml: 4,327; makefile: 1,071; lex: 800; sed: 17
file content (205 lines) | stat: -rw-r--r-- 29,370 bytes parent folder | download
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>XQilla Simple API Documentation</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&amp;type=2" border="0" alt="SourceForge.net Logo" /></a>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
<h1>InteractiveDebugger.hpp</h1><a href="InteractiveDebugger_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> * Copyright (c) 2001, 2008,</span>
<a name="l00003"></a>00003 <span class="comment"> *     DecisionSoft Limited. All rights reserved.</span>
<a name="l00004"></a>00004 <span class="comment"> * Copyright (c) 2004, 2015 Oracle and/or its affiliates. All rights reserved.</span>
<a name="l00005"></a>00005 <span class="comment"> *     </span>
<a name="l00006"></a>00006 <span class="comment"> *</span>
<a name="l00007"></a>00007 <span class="comment"> * Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);</span>
<a name="l00008"></a>00008 <span class="comment"> * you may not use this file except in compliance with the License.</span>
<a name="l00009"></a>00009 <span class="comment"> * You may obtain a copy of the License at</span>
<a name="l00010"></a>00010 <span class="comment"> *</span>
<a name="l00011"></a>00011 <span class="comment"> *     http://www.apache.org/licenses/LICENSE-2.0</span>
<a name="l00012"></a>00012 <span class="comment"> *</span>
<a name="l00013"></a>00013 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
<a name="l00014"></a>00014 <span class="comment"> * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span>
<a name="l00015"></a>00015 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
<a name="l00016"></a>00016 <span class="comment"> * See the License for the specific language governing permissions and</span>
<a name="l00017"></a>00017 <span class="comment"> * limitations under the License.</span>
<a name="l00018"></a>00018 <span class="comment"> */</span>
<a name="l00019"></a>00019 
<a name="l00020"></a>00020 <span class="preprocessor">#ifndef _INTERACTIVEDEBUGGER_HPP</span>
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#define _INTERACTIVEDEBUGGER_HPP</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span>
<a name="l00023"></a>00023 <span class="preprocessor">#include &lt;string&gt;</span>
<a name="l00024"></a>00024 <span class="preprocessor">#include &lt;vector&gt;</span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &lt;map&gt;</span>
<a name="l00026"></a>00026 
<a name="l00027"></a>00027 <span class="preprocessor">#include &lt;<a class="code" href="DebugListener_8hpp.html">xqilla/debug/DebugListener.hpp</a>&gt;</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include &lt;<a class="code" href="LocationInfo_8hpp.html">xqilla/ast/LocationInfo.hpp</a>&gt;</span>
<a name="l00029"></a>00029 
<a name="l00030"></a>00030 <span class="preprocessor">#include &lt;<a class="code" href="InputParser_8hpp.html">xqilla/debug/InputParser.hpp</a>&gt;</span>
<a name="l00031"></a>00031 
<a name="l00032"></a>00032 <span class="keyword">class </span><a class="code" href="classXQQuery.html" title="Encapsulates a query expression.">XQQuery</a>;
<a name="l00033"></a>00033 <span class="keyword">class </span><a class="code" href="classDynamicContext.html" title="The execution time dynamic context interface.">DynamicContext</a>;
<a name="l00034"></a>00034 <span class="keyword">class </span><a class="code" href="classDebugCommand.html">DebugCommand</a>;
<a name="l00035"></a>00035 <span class="keyword">class </span><a class="code" href="classInteractiveDebugger.html">InteractiveDebugger</a>;
<a name="l00036"></a>00036 
<a name="l00037"></a><a class="code" href="classBaseInteractiveDebugger.html">00037</a> <span class="keyword">class </span>XQILLA_API <a class="code" href="classBaseInteractiveDebugger.html">BaseInteractiveDebugger</a>
<a name="l00038"></a>00038 {
<a name="l00039"></a>00039 <span class="keyword">public</span>:
<a name="l00040"></a><a class="code" href="structBaseInteractiveDebugger_1_1Run.html">00040</a>   <span class="keyword">struct </span>XQILLA_API <a class="code" href="structBaseInteractiveDebugger_1_1Run.html">Run</a> {};
<a name="l00041"></a><a class="code" href="structBaseInteractiveDebugger_1_1Continue.html">00041</a>   <span class="keyword">struct </span>XQILLA_API <a class="code" href="structBaseInteractiveDebugger_1_1Continue.html">Continue</a> {};
<a name="l00042"></a><a class="code" href="structBaseInteractiveDebugger_1_1Quit.html">00042</a>   <span class="keyword">struct </span>XQILLA_API <a class="code" href="structBaseInteractiveDebugger_1_1Quit.html">Quit</a> {};
<a name="l00043"></a>00043 
<a name="l00044"></a>00044   <span class="keyword">static</span> <span class="keywordtype">void</span> outputLocation(<span class="keyword">const</span> XMLCh *file, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> line, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> column,
<a name="l00045"></a>00045                              <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> context = 0);
<a name="l00046"></a>00046   <span class="keyword">static</span> <span class="keywordtype">void</span> outputLocationFromString(<span class="keyword">const</span> XMLCh *query, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> line, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> column,
<a name="l00047"></a>00047                                        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> context = 0);
<a name="l00048"></a>00048   <span class="keyword">static</span> std::string regexFind(<span class="keyword">const</span> <span class="keywordtype">char</span> *regex, <span class="keyword">const</span> std::string &amp;str, <span class="keywordtype">int</span> groupNo = 1);
<a name="l00049"></a>00049 
<a name="l00050"></a>00050   <span class="keyword">virtual</span> ~<a class="code" href="classBaseInteractiveDebugger.html">BaseInteractiveDebugger</a>();
<a name="l00051"></a>00051 
<a name="l00052"></a>00052   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> setBreakPoint(<span class="keyword">const</span> std::string &amp;file, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> line, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> column, <span class="keywordtype">bool</span> temporary);
<a name="l00053"></a>00053   <span class="keywordtype">bool</span> disableBreakPoint(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> number);
<a name="l00054"></a>00054   <span class="keywordtype">bool</span> enableBreakPoint(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> number);
<a name="l00055"></a>00055   <span class="keywordtype">void</span> listBreakPoints() <span class="keyword">const</span>;
<a name="l00056"></a>00056 
<a name="l00057"></a>00057   <span class="keywordtype">void</span> setStep();
<a name="l00058"></a>00058   <span class="keywordtype">void</span> setNext();
<a name="l00059"></a><a class="code" href="classBaseInteractiveDebugger.html#a4e4c53e18a41dac06ecfe6ee67843578">00059</a>   <span class="keywordtype">bool</span> <a class="code" href="classBaseInteractiveDebugger.html#a4e4c53e18a41dac06ecfe6ee67843578">queryStarted</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> queryStarted_; }
<a name="l00060"></a>00060 
<a name="l00061"></a>00061   <span class="keyword">virtual</span> <span class="keywordtype">void</span> run() = 0;
<a name="l00062"></a>00062 
<a name="l00063"></a>00063   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> changeFrame(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> number) = 0;
<a name="l00064"></a>00064   <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> getStackSize() <span class="keyword">const</span> = 0;
<a name="l00065"></a>00065   <span class="keyword">virtual</span> <span class="keywordtype">void</span> stackTrace() <span class="keyword">const</span> = 0;
<a name="l00066"></a>00066   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> outputCurrentFrame(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> context = 0) <span class="keyword">const</span> = 0;
<a name="l00067"></a>00067   <span class="keyword">virtual</span> <span class="keywordtype">void</span> outputCurrentFrameQueryPlan() <span class="keyword">const</span> = 0;
<a name="l00068"></a>00068   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> queryCurrentFrame(<span class="keyword">const</span> <span class="keywordtype">char</span> *queryString) <span class="keyword">const</span> = 0;
<a name="l00069"></a>00069   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> currentFrameLocation(std::string &amp;file, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> &amp;line, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> &amp;column) <span class="keyword">const</span> = 0;
<a name="l00070"></a>00070 
<a name="l00071"></a>00071   <span class="keyword">virtual</span> <span class="keywordtype">void</span> setDoLazyEvaluation(<span class="keywordtype">bool</span> lazy) = 0;
<a name="l00072"></a>00072   <span class="keyword">virtual</span> <span class="keywordtype">void</span> setDoFocusOptimizationsn(<span class="keywordtype">bool</span> opt) = 0;
<a name="l00073"></a>00073   <span class="keyword">virtual</span> <span class="keywordtype">void</span> setDoProjection(<span class="keywordtype">bool</span> opt) = 0;
<a name="l00074"></a>00074 
<a name="l00075"></a>00075 <span class="keyword">protected</span>:
<a name="l00076"></a>00076   <a class="code" href="classBaseInteractiveDebugger.html">BaseInteractiveDebugger</a>();
<a name="l00077"></a>00077 
<a name="l00078"></a>00078   <a class="code" href="classDebugCommand.html">DebugCommand</a> *findCommand(std::string &amp;command) <span class="keyword">const</span>;
<a name="l00079"></a>00079   <span class="keywordtype">void</span> checkBreak(<span class="keywordtype">bool</span> entering);
<a name="l00080"></a>00080   <span class="keywordtype">void</span> breakForError(<span class="keyword">const</span> <span class="keywordtype">char</span> *message);
<a name="l00081"></a>00081   <span class="keywordtype">void</span> interrupted();
<a name="l00082"></a>00082   <span class="keywordtype">void</span> readCommand();
<a name="l00083"></a>00083 
<a name="l00084"></a><a class="code" href="classBaseInteractiveDebugger.html#a0f0b17238151717de1b6de4c42907bfc">00084</a>   std::vector&lt;DebugCommand*&gt; commands_;
<a name="l00085"></a><a class="code" href="classBaseInteractiveDebugger.html#a43999d14460fcf7fd8390a2dd5642391">00085</a>   <a class="code" href="classDebugCommand.html">DebugCommand</a> *prevcmd_;
<a name="l00086"></a>00086 
<a name="l00087"></a><a class="code" href="classBaseInteractiveDebugger.html#ae53948cb705a3977b2b8b2829677d699">00087</a>   <span class="keywordtype">bool</span> queryStarted_;
<a name="l00088"></a>00088 
<a name="l00089"></a><a class="code" href="structBaseInteractiveDebugger_1_1BreakPoint.html">00089</a>   <span class="keyword">struct </span><a class="code" href="structBaseInteractiveDebugger_1_1BreakPoint.html">BreakPoint</a>
<a name="l00090"></a>00090   {
<a name="l00091"></a><a class="code" href="structBaseInteractiveDebugger_1_1BreakPoint.html#acbe999bbf2e6d80bb62bfd86c593d7d4">00091</a>     <a class="code" href="structBaseInteractiveDebugger_1_1BreakPoint.html">BreakPoint</a>(<span class="keyword">const</span> std::string &amp;f, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> l, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> c, <span class="keywordtype">bool</span> t)
<a name="l00092"></a>00092       : file(f), line(l), column(c), temporary(t), disabled(false) {}
<a name="l00093"></a>00093 
<a name="l00094"></a><a class="code" href="structBaseInteractiveDebugger_1_1BreakPoint.html#a972ac10cf2a4b283a38bd00bd5a56234">00094</a>     std::string file;
<a name="l00095"></a><a class="code" href="structBaseInteractiveDebugger_1_1BreakPoint.html#af83f62b33d48748ed868f9dea2daec10">00095</a>     <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> line, column;
<a name="l00096"></a><a class="code" href="structBaseInteractiveDebugger_1_1BreakPoint.html#a9470d5fa10fe97fdd95560ab9d352f21">00096</a>     <span class="keywordtype">bool</span> temporary;
<a name="l00097"></a><a class="code" href="structBaseInteractiveDebugger_1_1BreakPoint.html#a8cce0a2cb3b7ae1c1369dcc1e12fafaf">00097</a>     <span class="keywordtype">bool</span> disabled;
<a name="l00098"></a>00098   };
<a name="l00099"></a>00099 
<a name="l00100"></a><a class="code" href="classBaseInteractiveDebugger.html#ac0692e2905efbd98e563bed65a6ac1ec">00100</a>   std::vector&lt;BreakPoint&gt; breaks_;
<a name="l00101"></a><a class="code" href="classBaseInteractiveDebugger.html#a487bf8ceb0bffcfba261a0c52360054b">00101</a>   <span class="keywordtype">bool</span> step_;
<a name="l00102"></a><a class="code" href="classBaseInteractiveDebugger.html#af4c34452f1359e7e25d0fcf4bd004cef">00102</a>   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> next_;
<a name="l00103"></a>00103 };
<a name="l00104"></a>00104 
<a name="l00105"></a><a class="code" href="classDebugCommand.html">00105</a> <span class="keyword">class </span>XQILLA_API <a class="code" href="classDebugCommand.html">DebugCommand</a>
<a name="l00106"></a>00106 {
<a name="l00107"></a>00107 <span class="keyword">public</span>:
<a name="l00108"></a><a class="code" href="classDebugCommand.html#ad07a49db928df23787896d42ac47d887">00108</a>   <span class="keyword">virtual</span> <a class="code" href="classDebugCommand.html#ad07a49db928df23787896d42ac47d887">~DebugCommand</a>() {};
<a name="l00109"></a>00109 
<a name="l00110"></a><a class="code" href="classDebugCommand.html#a43c359a17520d2e61af858d9c10715e5">00110</a>   <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="classDebugCommand.html#a43c359a17520d2e61af858d9c10715e5">getCommandName</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> name_; }
<a name="l00111"></a><a class="code" href="classDebugCommand.html#a90b011b697c3b5c6f79f90305d923616">00111</a>   <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="classDebugCommand.html#a90b011b697c3b5c6f79f90305d923616">getCommandNameCompat</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> compatName_; }
<a name="l00112"></a><a class="code" href="classDebugCommand.html#a7ba5db9560ea93edc62853f65310804d">00112</a>   <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="classDebugCommand.html#a7ba5db9560ea93edc62853f65310804d">getBriefHelp</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> briefHelp_; }
<a name="l00113"></a><a class="code" href="classDebugCommand.html#ae099b5254c6f63b23cf9da34c0eb94de">00113</a>   <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="classDebugCommand.html#ae099b5254c6f63b23cf9da34c0eb94de">getMoreHelp</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> moreHelp_; }
<a name="l00114"></a>00114 
<a name="l00115"></a>00115   <span class="keyword">static</span> <span class="keywordtype">bool</span> matches(<span class="keyword">const</span> std::string &amp;command,
<a name="l00116"></a>00116           <span class="keyword">const</span> std::string &amp;toMatch);
<a name="l00117"></a>00117   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> matches(<span class="keyword">const</span> std::string &amp;command) <span class="keyword">const</span>;
<a name="l00118"></a>00118 
<a name="l00119"></a>00119   <span class="keyword">virtual</span> <span class="keywordtype">void</span> execute(<a class="code" href="classInputParser.html#a6d3311fbf25b5902702cd905cff59672">InputParser::Args</a> &amp;args, <a class="code" href="classBaseInteractiveDebugger.html">BaseInteractiveDebugger</a> &amp;env) = 0;
<a name="l00120"></a>00120 
<a name="l00121"></a>00121 <span class="keyword">protected</span>:
<a name="l00122"></a><a class="code" href="classDebugCommand.html#ab7642a08f9a39b02361518be2979fc16">00122</a>   <a class="code" href="classDebugCommand.html">DebugCommand</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keyword">const</span> <span class="keywordtype">char</span> *compatName,
<a name="l00123"></a>00123                <span class="keyword">const</span> <span class="keywordtype">char</span> *briefHelp, <span class="keyword">const</span> <span class="keywordtype">char</span> *moreHelp)
<a name="l00124"></a>00124     : name_(name), compatName_(compatName), briefHelp_(briefHelp), moreHelp_(moreHelp) {}
<a name="l00125"></a>00125 
<a name="l00126"></a><a class="code" href="classDebugCommand.html#a28622fcede660e8ef7f5ce763fcb3ed1">00126</a>   <span class="keyword">const</span> <span class="keywordtype">char</span> *name_;
<a name="l00127"></a><a class="code" href="classDebugCommand.html#a7930da08aa4f8506c7674bee5f2072d2">00127</a>   <span class="keyword">const</span> <span class="keywordtype">char</span> *compatName_;
<a name="l00128"></a><a class="code" href="classDebugCommand.html#acf198f65b4397fc14275629b8505cdae">00128</a>   <span class="keyword">const</span> <span class="keywordtype">char</span> *briefHelp_;
<a name="l00129"></a><a class="code" href="classDebugCommand.html#a777bd7a506e4632b2e7e8561de796613">00129</a>   <span class="keyword">const</span> <span class="keywordtype">char</span> *moreHelp_;
<a name="l00130"></a>00130 };
<a name="l00131"></a>00131 
<a name="l00132"></a><a class="code" href="classInteractiveDebugger.html">00132</a> <span class="keyword">class </span>XQILLA_API <a class="code" href="classInteractiveDebugger.html">InteractiveDebugger</a> :  <span class="keyword">private</span> <a class="code" href="classBaseInteractiveDebugger.html">BaseInteractiveDebugger</a>,
<a name="l00133"></a>00133                                         <span class="keyword">private</span> <a class="code" href="classDebugListener.html" title="A class used to listen for debugging information.">DebugListener</a>
<a name="l00134"></a>00134 {
<a name="l00135"></a>00135 <span class="keyword">public</span>:
<a name="l00136"></a>00136   <span class="keyword">static</span> <span class="keywordtype">void</span> debugQuery(<span class="keyword">const</span> <a class="code" href="classXQQuery.html" title="Encapsulates a query expression.">XQQuery</a> *query, <a class="code" href="classDynamicContext.html" title="The execution time dynamic context interface.">DynamicContext</a> *context);
<a name="l00137"></a>00137   <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classBaseInteractiveDebugger.html#ae4f363d37650973f43c13e10d12bdb43">outputLocation</a>(<span class="keyword">const</span> <a class="code" href="classLocationInfo.html" title="A class that gives records a location in the query.">LocationInfo</a> *info, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> context = 0);
<a name="l00138"></a>00138 
<a name="l00139"></a>00139 <span class="keyword">private</span>:
<a name="l00140"></a>00140   <a class="code" href="classInteractiveDebugger.html">InteractiveDebugger</a>(<span class="keyword">const</span> <a class="code" href="classXQQuery.html" title="Encapsulates a query expression.">XQQuery</a> *query, <a class="code" href="classDynamicContext.html" title="The execution time dynamic context interface.">DynamicContext</a> *context);
<a name="l00141"></a>00141 
<a name="l00142"></a>00142   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classDebugListener.html#ad41440cbd0b7c22bc206447a1ae96afe">enter</a>(<span class="keyword">const</span> <a class="code" href="classStackFrame.html" title="A class that represents an item in a query call stack.">StackFrame</a> *stack, <span class="keyword">const</span> <a class="code" href="classDynamicContext.html" title="The execution time dynamic context interface.">DynamicContext</a> *context);
<a name="l00143"></a>00143   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classDebugListener.html#acaa77e3f4fc34d3c34c3d82b25ea4688">exit</a>(<span class="keyword">const</span> <a class="code" href="classStackFrame.html" title="A class that represents an item in a query call stack.">StackFrame</a> *stack, <span class="keyword">const</span> <a class="code" href="classDynamicContext.html" title="The execution time dynamic context interface.">DynamicContext</a> *context);
<a name="l00144"></a>00144   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classDebugListener.html#ac07380d2b139942e5b4c4620887803e2">error</a>(<span class="keyword">const</span> <a class="code" href="classXQException.html">XQException</a> &amp;error, <span class="keyword">const</span> <a class="code" href="classStackFrame.html" title="A class that represents an item in a query call stack.">StackFrame</a> *stack, <span class="keyword">const</span> <a class="code" href="classDynamicContext.html" title="The execution time dynamic context interface.">DynamicContext</a> *context);
<a name="l00145"></a>00145   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classDebugListener.html#ae788ce85aca0bb775350f87fbf8271b8">doLazyEvaluation</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> lazy_; }
<a name="l00146"></a>00146   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classDebugListener.html#a6726e49cb852562c5b5e3e398fa09751">doFocusOptimizations</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> focusOptimzations_; }
<a name="l00147"></a>00147 
<a name="l00148"></a>00148   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classBaseInteractiveDebugger.html#ad075f485a12d612a89461d675099e49b">run</a>();
<a name="l00149"></a>00149 
<a name="l00150"></a>00150   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classBaseInteractiveDebugger.html#a3e30a08d9ec12ccb2d89f09b943b82c1">changeFrame</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> number);
<a name="l00151"></a>00151   <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classBaseInteractiveDebugger.html#a61d93676b1ba5cf93e0344c777c4ade2">getStackSize</a>() <span class="keyword">const</span>;
<a name="l00152"></a>00152   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classBaseInteractiveDebugger.html#a75daf55685a5bb4a45d6558332a4c3eb">stackTrace</a>() <span class="keyword">const</span>;
<a name="l00153"></a>00153   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classBaseInteractiveDebugger.html#aafed5106c37319a83a9d0f7cd2119306">outputCurrentFrame</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> context) <span class="keyword">const</span>;
<a name="l00154"></a>00154   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classBaseInteractiveDebugger.html#ad618807ba356f5c82ff956521c2dd272">outputCurrentFrameQueryPlan</a>() <span class="keyword">const</span>;
<a name="l00155"></a>00155   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classBaseInteractiveDebugger.html#a727de621907390c4fbe41778ffa57181">queryCurrentFrame</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *queryString) <span class="keyword">const</span>;
<a name="l00156"></a>00156   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classBaseInteractiveDebugger.html#ac88b0d5104dff9cbc7b8c7ec24693c90">currentFrameLocation</a>(std::string &amp;file, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> &amp;line, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> &amp;column) <span class="keyword">const</span>;
<a name="l00157"></a>00157 
<a name="l00158"></a>00158   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classBaseInteractiveDebugger.html#a68fa78e6558afcfd5a4ee7537596b5ec">setDoLazyEvaluation</a>(<span class="keywordtype">bool</span> lazy) { lazy_ = lazy; }
<a name="l00159"></a>00159   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classBaseInteractiveDebugger.html#a0f75b8c23bf9612dcbbd5a77aa897fb5">setDoFocusOptimizationsn</a>(<span class="keywordtype">bool</span> opt) { focusOptimzations_ = opt; }
<a name="l00160"></a>00160   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classBaseInteractiveDebugger.html#a7a04c8cc3b5530cce84d670f4149343c">setDoProjection</a>(<span class="keywordtype">bool</span> opt);
<a name="l00161"></a>00161 
<a name="l00162"></a>00162   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> getCurrentFrameNumber() <span class="keyword">const</span>;
<a name="l00163"></a>00163   <span class="keywordtype">void</span> output(<span class="keyword">const</span> <a class="code" href="classStackFrame.html" title="A class that represents an item in a query call stack.">StackFrame</a> *frame) <span class="keyword">const</span>;
<a name="l00164"></a>00164   <span class="keywordtype">void</span> report(<span class="keyword">const</span> <a class="code" href="classStackFrame.html" title="A class that represents an item in a query call stack.">StackFrame</a> *frame) <span class="keyword">const</span>;
<a name="l00165"></a>00165 
<a name="l00166"></a>00166   <span class="keyword">const</span> <a class="code" href="classStackFrame.html" title="A class that represents an item in a query call stack.">StackFrame</a> *stack_;
<a name="l00167"></a>00167   <span class="keyword">const</span> <a class="code" href="classStackFrame.html" title="A class that represents an item in a query call stack.">StackFrame</a> *currentFrame_;
<a name="l00168"></a>00168 
<a name="l00169"></a>00169   <span class="keyword">const</span> <a class="code" href="classXQQuery.html" title="Encapsulates a query expression.">XQQuery</a> *query_;
<a name="l00170"></a>00170   <a class="code" href="classDynamicContext.html" title="The execution time dynamic context interface.">DynamicContext</a> *context_;
<a name="l00171"></a>00171   <span class="keywordtype">bool</span> lazy_;
<a name="l00172"></a>00172   <span class="keywordtype">bool</span> focusOptimzations_;
<a name="l00173"></a>00173 };
<a name="l00174"></a>00174 
<a name="l00175"></a>00175 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 18 May 2015 for XQilla Simple API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>