56 <h2>DebugViewer</h2> |
56 <h2>DebugViewer</h2> |
57 <p> |
57 <p> |
58 Class implementing a widget conatining various debug related views. |
58 Class implementing a widget conatining various debug related views. |
59 </p><p> |
59 </p><p> |
60 The individual tabs contain the interpreter shell (optional), |
60 The individual tabs contain the interpreter shell (optional), |
61 the filesystem browser (optional), the two variables viewers (global and local), |
61 the filesystem browser (optional), the two variables viewers |
62 a breakpoint viewer, a watch expression viewer and the exception logger. Additionally |
62 (global and local), a breakpoint viewer, a watch expression viewer and |
63 a list of all threads is shown. |
63 the exception logger. Additionally a list of all threads is shown. |
64 </p><h3>Signals</h3> |
64 </p><h3>Signals</h3> |
65 <dl> |
65 <dl> |
66 <dt>sourceFile(string, int)</dt> |
66 <dt>sourceFile(string, int)</dt> |
67 <dd> |
67 <dd> |
68 emitted to open a source file at a line |
68 emitted to open a source file at a line |
182 </dd><dt><i>parent</i></dt> |
182 </dd><dt><i>parent</i></dt> |
183 <dd> |
183 <dd> |
184 parent widget (QWidget) |
184 parent widget (QWidget) |
185 </dd><dt><i>embeddedShell</i></dt> |
185 </dd><dt><i>embeddedShell</i></dt> |
186 <dd> |
186 <dd> |
187 flag indicating whether the shell should be included. |
187 flag indicating whether the shell should be |
188 This flag is set to False by those layouts, that have the interpreter |
188 included. This flag is set to False by those layouts, that have |
189 shell in a separate window. |
189 the interpreter shell in a separate window. |
190 </dd><dt><i>embeddedBrowser</i></dt> |
190 </dd><dt><i>embeddedBrowser</i></dt> |
191 <dd> |
191 <dd> |
192 flag indicating whether the file browser should |
192 flag indicating whether the file browser should |
193 be included. This flag is set to False by those layouts, that |
193 be included. This flag is set to False by those layouts, that |
194 have the file browser in a separate window or embedded |
194 have the file browser in a separate window or embedded |
195 in the project browser instead. |
195 in the project browser instead. |
196 </dd> |
196 </dd> |
197 </dl><a NAME="DebugViewer.__callStackFrameSelected" ID="DebugViewer.__callStackFrameSelected"></a> |
197 </dl><a NAME="DebugViewer.__callStackFrameSelected" ID="DebugViewer.__callStackFrameSelected"></a> |
198 <h4>DebugViewer.__callStackFrameSelected</h4> |
198 <h4>DebugViewer.__callStackFrameSelected</h4> |
199 <b>__callStackFrameSelected</b>(<i>frameNo</i>) |
199 <b>__callStackFrameSelected</b>(<i>frameNo</i>) |
200 <p> |
200 <p> |
227 Private slot to set the local variable filter. |
227 Private slot to set the local variable filter. |
228 </p><a NAME="DebugViewer.__showSource" ID="DebugViewer.__showSource"></a> |
228 </p><a NAME="DebugViewer.__showSource" ID="DebugViewer.__showSource"></a> |
229 <h4>DebugViewer.__showSource</h4> |
229 <h4>DebugViewer.__showSource</h4> |
230 <b>__showSource</b>(<i></i>) |
230 <b>__showSource</b>(<i></i>) |
231 <p> |
231 <p> |
232 Private slot to handle the source button press to show the selected file. |
232 Private slot to handle the source button press to show the selected |
|
233 file. |
233 </p><a NAME="DebugViewer.__threadSelected" ID="DebugViewer.__threadSelected"></a> |
234 </p><a NAME="DebugViewer.__threadSelected" ID="DebugViewer.__threadSelected"></a> |
234 <h4>DebugViewer.__threadSelected</h4> |
235 <h4>DebugViewer.__threadSelected</h4> |
235 <b>__threadSelected</b>(<i>current, previous</i>) |
236 <b>__threadSelected</b>(<i>current, previous</i>) |
236 <p> |
237 <p> |
237 Private slot to handle the selection of a thread in the thread list. |
238 Private slot to handle the selection of a thread in the thread list. |
239 <dt><i>current</i></dt> |
240 <dt><i>current</i></dt> |
240 <dd> |
241 <dd> |
241 reference to the new current item (QTreeWidgetItem) |
242 reference to the new current item (QTreeWidgetItem) |
242 </dd><dt><i>previous</i></dt> |
243 </dd><dt><i>previous</i></dt> |
243 <dd> |
244 <dd> |
244 reference to the previous current item (QTreeWidgetItem) |
245 reference to the previous current item |
|
246 (QTreeWidgetItem) |
245 </dd> |
247 </dd> |
246 </dl><a NAME="DebugViewer.clearCallTrace" ID="DebugViewer.clearCallTrace"></a> |
248 </dl><a NAME="DebugViewer.clearCallTrace" ID="DebugViewer.clearCallTrace"></a> |
247 <h4>DebugViewer.clearCallTrace</h4> |
249 <h4>DebugViewer.clearCallTrace</h4> |
248 <b>clearCallTrace</b>(<i></i>) |
250 <b>clearCallTrace</b>(<i></i>) |
249 <p> |
251 <p> |
264 <p> |
266 <p> |
265 Public slot to show the call stack of the program being debugged. |
267 Public slot to show the call stack of the program being debugged. |
266 </p><dl> |
268 </p><dl> |
267 <dt><i>stack</i></dt> |
269 <dt><i>stack</i></dt> |
268 <dd> |
270 <dd> |
269 list of tuples with call stack data (file name, line number, |
271 list of tuples with call stack data (file name, |
270 function name, formatted argument/values list) |
272 line number, function name, formatted argument/values list) |
271 </dd> |
273 </dd> |
272 </dl><a NAME="DebugViewer.handleDebuggingStarted" ID="DebugViewer.handleDebuggingStarted"></a> |
274 </dl><a NAME="DebugViewer.handleDebuggingStarted" ID="DebugViewer.handleDebuggingStarted"></a> |
273 <h4>DebugViewer.handleDebuggingStarted</h4> |
275 <h4>DebugViewer.handleDebuggingStarted</h4> |
274 <b>handleDebuggingStarted</b>(<i></i>) |
276 <b>handleDebuggingStarted</b>(<i></i>) |
275 <p> |
277 <p> |
360 <p> |
362 <p> |
361 Public slot to set the local variables filter. |
363 Public slot to set the local variables filter. |
362 </p><dl> |
364 </p><dl> |
363 <dt><i>globalsFilter</i></dt> |
365 <dt><i>globalsFilter</i></dt> |
364 <dd> |
366 <dd> |
365 filter list for global variable types (list of int) |
367 filter list for global variable types |
|
368 (list of int) |
366 </dd><dt><i>localsFilter</i></dt> |
369 </dd><dt><i>localsFilter</i></dt> |
367 <dd> |
370 <dd> |
368 filter list for local variable types (list of int) |
371 filter list for local variable types (list of int) |
369 </dd> |
372 </dd> |
370 </dl><a NAME="DebugViewer.showThreadList" ID="DebugViewer.showThreadList"></a> |
373 </dl><a NAME="DebugViewer.showThreadList" ID="DebugViewer.showThreadList"></a> |