101 <td>Private slot to show the call stack of the program being debugged.</td> |
101 <td>Private slot to show the call stack of the program being debugged.</td> |
102 </tr> |
102 </tr> |
103 <tr> |
103 <tr> |
104 <td><a href="#CallStackViewer.__showContextMenu">__showContextMenu</a></td> |
104 <td><a href="#CallStackViewer.__showContextMenu">__showContextMenu</a></td> |
105 <td>Private slot to show the context menu.</td> |
105 <td>Private slot to show the context menu.</td> |
|
106 </tr> |
|
107 <tr> |
|
108 <td><a href="#CallStackViewer.clear">clear</a></td> |
|
109 <td>Public method to clear the stack viewer data.</td> |
106 </tr> |
110 </tr> |
107 <tr> |
111 <tr> |
108 <td><a href="#CallStackViewer.setDebugger">setDebugger</a></td> |
112 <td><a href="#CallStackViewer.setDebugger">setDebugger</a></td> |
109 <td>Public method to set a reference to the Debug UI.</td> |
113 <td>Public method to set a reference to the Debug UI.</td> |
110 </tr> |
114 </tr> |
126 <p> |
130 <p> |
127 Constructor |
131 Constructor |
128 </p> |
132 </p> |
129 <dl> |
133 <dl> |
130 |
134 |
131 <dt><i>debugServer</i></dt> |
135 <dt><i>debugServer</i> (DebugServer)</dt> |
132 <dd> |
136 <dd> |
133 reference to the debug server object (DebugServer) |
137 reference to the debug server object |
134 </dd> |
138 </dd> |
135 <dt><i>parent</i></dt> |
139 <dt><i>parent</i> (QWidget)</dt> |
136 <dd> |
140 <dd> |
137 reference to the parent widget (QWidget) |
141 reference to the parent widget |
138 </dd> |
142 </dd> |
139 </dl> |
143 </dl> |
140 <a NAME="CallStackViewer.__itemDoubleClicked" ID="CallStackViewer.__itemDoubleClicked"></a> |
144 <a NAME="CallStackViewer.__itemDoubleClicked" ID="CallStackViewer.__itemDoubleClicked"></a> |
141 <h4>CallStackViewer.__itemDoubleClicked</h4> |
145 <h4>CallStackViewer.__itemDoubleClicked</h4> |
142 <b>__itemDoubleClicked</b>(<i>itm</i>) |
146 <b>__itemDoubleClicked</b>(<i>itm</i>) |
144 <p> |
148 <p> |
145 Private slot to handle a double click of a stack entry. |
149 Private slot to handle a double click of a stack entry. |
146 </p> |
150 </p> |
147 <dl> |
151 <dl> |
148 |
152 |
149 <dt><i>itm</i></dt> |
153 <dt><i>itm</i> (QTreeWidgetItem)</dt> |
150 <dd> |
154 <dd> |
151 reference to the double clicked item (QTreeWidgetItem) |
155 reference to the double clicked item |
152 </dd> |
156 </dd> |
153 </dl> |
157 </dl> |
154 <a NAME="CallStackViewer.__openSource" ID="CallStackViewer.__openSource"></a> |
158 <a NAME="CallStackViewer.__openSource" ID="CallStackViewer.__openSource"></a> |
155 <h4>CallStackViewer.__openSource</h4> |
159 <h4>CallStackViewer.__openSource</h4> |
156 <b>__openSource</b>(<i></i>) |
160 <b>__openSource</b>(<i></i>) |
165 <p> |
169 <p> |
166 Private slot to save the stack trace info to a file. |
170 Private slot to save the stack trace info to a file. |
167 </p> |
171 </p> |
168 <a NAME="CallStackViewer.__showCallStack" ID="CallStackViewer.__showCallStack"></a> |
172 <a NAME="CallStackViewer.__showCallStack" ID="CallStackViewer.__showCallStack"></a> |
169 <h4>CallStackViewer.__showCallStack</h4> |
173 <h4>CallStackViewer.__showCallStack</h4> |
170 <b>__showCallStack</b>(<i>stack</i>) |
174 <b>__showCallStack</b>(<i>stack, debuggerId</i>) |
171 |
175 |
172 <p> |
176 <p> |
173 Private slot to show the call stack of the program being debugged. |
177 Private slot to show the call stack of the program being debugged. |
174 </p> |
178 </p> |
175 <dl> |
179 <dl> |
176 |
180 |
177 <dt><i>stack</i> (list of tuples of (str, str, str, str))</dt> |
181 <dt><i>stack</i> (list of tuples of (str, str, str, str))</dt> |
178 <dd> |
182 <dd> |
179 list of tuples with call stack data (file name, |
183 list of tuples with call stack data (file name, |
180 line number, function name, formatted argument/values list) |
184 line number, function name, formatted argument/values list) |
|
185 </dd> |
|
186 <dt><i>debuggerId</i> (str)</dt> |
|
187 <dd> |
|
188 ID of the debugger backend |
181 </dd> |
189 </dd> |
182 </dl> |
190 </dl> |
183 <a NAME="CallStackViewer.__showContextMenu" ID="CallStackViewer.__showContextMenu"></a> |
191 <a NAME="CallStackViewer.__showContextMenu" ID="CallStackViewer.__showContextMenu"></a> |
184 <h4>CallStackViewer.__showContextMenu</h4> |
192 <h4>CallStackViewer.__showContextMenu</h4> |
185 <b>__showContextMenu</b>(<i>coord</i>) |
193 <b>__showContextMenu</b>(<i>coord</i>) |
187 <p> |
195 <p> |
188 Private slot to show the context menu. |
196 Private slot to show the context menu. |
189 </p> |
197 </p> |
190 <dl> |
198 <dl> |
191 |
199 |
192 <dt><i>coord</i></dt> |
200 <dt><i>coord</i> (QPoint)</dt> |
193 <dd> |
201 <dd> |
194 the position of the mouse pointer (QPoint) |
202 the position of the mouse pointer |
195 </dd> |
203 </dd> |
196 </dl> |
204 </dl> |
|
205 <a NAME="CallStackViewer.clear" ID="CallStackViewer.clear"></a> |
|
206 <h4>CallStackViewer.clear</h4> |
|
207 <b>clear</b>(<i></i>) |
|
208 |
|
209 <p> |
|
210 Public method to clear the stack viewer data. |
|
211 </p> |
197 <a NAME="CallStackViewer.setDebugger" ID="CallStackViewer.setDebugger"></a> |
212 <a NAME="CallStackViewer.setDebugger" ID="CallStackViewer.setDebugger"></a> |
198 <h4>CallStackViewer.setDebugger</h4> |
213 <h4>CallStackViewer.setDebugger</h4> |
199 <b>setDebugger</b>(<i>debugUI</i>) |
214 <b>setDebugger</b>(<i>debugUI</i>) |
200 |
215 |
201 <p> |
216 <p> |
202 Public method to set a reference to the Debug UI. |
217 Public method to set a reference to the Debug UI. |
203 </p> |
218 </p> |
204 <dl> |
219 <dl> |
205 |
220 |
206 <dt><i>debugUI</i></dt> |
221 <dt><i>debugUI</i> (DebugUI)</dt> |
207 <dd> |
222 <dd> |
208 reference to the DebugUI object (DebugUI) |
223 reference to the DebugUI object |
209 </dd> |
224 </dd> |
210 </dl> |
225 </dl> |
211 <a NAME="CallStackViewer.setProjectMode" ID="CallStackViewer.setProjectMode"></a> |
226 <a NAME="CallStackViewer.setProjectMode" ID="CallStackViewer.setProjectMode"></a> |
212 <h4>CallStackViewer.setProjectMode</h4> |
227 <h4>CallStackViewer.setProjectMode</h4> |
213 <b>setProjectMode</b>(<i>enabled</i>) |
228 <b>setProjectMode</b>(<i>enabled</i>) |