|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Debugger.DebugUI</title> |
|
4 <meta charset="UTF-8"> |
|
5 <style> |
|
6 body { |
|
7 background: #EDECE6; |
|
8 margin: 0em 1em 10em 1em; |
|
9 color: black; |
|
10 } |
|
11 |
|
12 h1 { color: white; background: #85774A; } |
|
13 h2 { color: white; background: #85774A; } |
|
14 h3 { color: white; background: #9D936E; } |
|
15 h4 { color: white; background: #9D936E; } |
|
16 |
|
17 a { color: #BA6D36; } |
|
18 |
|
19 </style> |
|
20 </head> |
|
21 <body><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.Debugger.DebugUI</h1> |
|
23 <p> |
|
24 Module implementing the debugger UI. |
|
25 </p> |
|
26 <h3>Global Attributes</h3> |
|
27 <table> |
|
28 <tr><td>None</td></tr> |
|
29 </table> |
|
30 <h3>Classes</h3> |
|
31 <table> |
|
32 <tr> |
|
33 <td><a href="#DebugUI">DebugUI</a></td> |
|
34 <td>Class implementing the debugger part of the UI.</td> |
|
35 </tr> |
|
36 </table> |
|
37 <h3>Functions</h3> |
|
38 <table> |
|
39 <tr><td>None</td></tr> |
|
40 </table> |
|
41 <hr /><hr /> |
|
42 <a NAME="DebugUI" ID="DebugUI"></a> |
|
43 <h2>DebugUI</h2> |
|
44 <p> |
|
45 Class implementing the debugger part of the UI. |
|
46 </p><h3>Signals</h3> |
|
47 <dl> |
|
48 <dt>appendStdout(msg)</dt> |
|
49 <dd> |
|
50 emitted when the client program has terminated |
|
51 and the display of the termination dialog is suppressed |
|
52 </dd><dt>clientStack(stack)</dt> |
|
53 <dd> |
|
54 emitted at breaking after a reported exception |
|
55 </dd><dt>compileForms()</dt> |
|
56 <dd> |
|
57 emitted if changed project forms should be compiled |
|
58 </dd><dt>compileResources()</dt> |
|
59 <dd> |
|
60 emitted if changed project resources should be |
|
61 compiled |
|
62 </dd><dt>debuggingStarted(filename)</dt> |
|
63 <dd> |
|
64 emitted when a debugging session was |
|
65 started |
|
66 </dd><dt>exceptionInterrupt()</dt> |
|
67 <dd> |
|
68 emitted after the execution was interrupted |
|
69 by an exception and acknowledged by the user |
|
70 </dd><dt>executeMake()</dt> |
|
71 <dd> |
|
72 emitted if a project specific make run should be |
|
73 performed |
|
74 </dd><dt>resetUI()</dt> |
|
75 <dd> |
|
76 emitted to reset the UI |
|
77 </dd> |
|
78 </dl> |
|
79 <h3>Derived from</h3> |
|
80 QObject |
|
81 <h3>Class Attributes</h3> |
|
82 <table> |
|
83 <tr><td>None</td></tr> |
|
84 </table> |
|
85 <h3>Class Methods</h3> |
|
86 <table> |
|
87 <tr><td>None</td></tr> |
|
88 </table> |
|
89 <h3>Methods</h3> |
|
90 <table> |
|
91 <tr> |
|
92 <td><a href="#DebugUI.__init__">DebugUI</a></td> |
|
93 <td>Constructor</td> |
|
94 </tr><tr> |
|
95 <td><a href="#DebugUI.__breakpointSelected">__breakpointSelected</a></td> |
|
96 <td>Private method to handle the breakpoint selected signal.</td> |
|
97 </tr><tr> |
|
98 <td><a href="#DebugUI.__checkActions">__checkActions</a></td> |
|
99 <td>Private slot to check some actions for their enable/disable status.</td> |
|
100 </tr><tr> |
|
101 <td><a href="#DebugUI.__clearBreakpoints">__clearBreakpoints</a></td> |
|
102 <td>Private slot to handle the 'Clear breakpoints' action.</td> |
|
103 </tr><tr> |
|
104 <td><a href="#DebugUI.__clientBreakConditionError">__clientBreakConditionError</a></td> |
|
105 <td>Private method to handle a condition error of a breakpoint.</td> |
|
106 </tr><tr> |
|
107 <td><a href="#DebugUI.__clientException">__clientException</a></td> |
|
108 <td>Private method to handle an exception of the debugged program.</td> |
|
109 </tr><tr> |
|
110 <td><a href="#DebugUI.__clientExit">__clientExit</a></td> |
|
111 <td>Private method to handle the debugged program terminating.</td> |
|
112 </tr><tr> |
|
113 <td><a href="#DebugUI.__clientGone">__clientGone</a></td> |
|
114 <td>Private method to handle the disconnection of the debugger client.</td> |
|
115 </tr><tr> |
|
116 <td><a href="#DebugUI.__clientLine">__clientLine</a></td> |
|
117 <td>Private method to handle a change to the current line.</td> |
|
118 </tr><tr> |
|
119 <td><a href="#DebugUI.__clientSignal">__clientSignal</a></td> |
|
120 <td>Private method to handle a signal generated on the client side.</td> |
|
121 </tr><tr> |
|
122 <td><a href="#DebugUI.__clientSyntaxError">__clientSyntaxError</a></td> |
|
123 <td>Private method to handle a syntax error in the debugged program.</td> |
|
124 </tr><tr> |
|
125 <td><a href="#DebugUI.__clientThreadSet">__clientThreadSet</a></td> |
|
126 <td>Private method to handle a change of the client's current thread.</td> |
|
127 </tr><tr> |
|
128 <td><a href="#DebugUI.__clientVariable">__clientVariable</a></td> |
|
129 <td>Private method to write the contents of a clients classvariable to the user interface.</td> |
|
130 </tr><tr> |
|
131 <td><a href="#DebugUI.__clientVariables">__clientVariables</a></td> |
|
132 <td>Private method to write the clients variables to the user interface.</td> |
|
133 </tr><tr> |
|
134 <td><a href="#DebugUI.__clientWatchConditionError">__clientWatchConditionError</a></td> |
|
135 <td>Private method to handle a expression error of a watch expression.</td> |
|
136 </tr><tr> |
|
137 <td><a href="#DebugUI.__compileChangedProjectFiles">__compileChangedProjectFiles</a></td> |
|
138 <td>Private method to signal compilation of changed forms and resources is wanted.</td> |
|
139 </tr><tr> |
|
140 <td><a href="#DebugUI.__configureExceptionsFilter">__configureExceptionsFilter</a></td> |
|
141 <td>Private slot for displaying the exception filter dialog.</td> |
|
142 </tr><tr> |
|
143 <td><a href="#DebugUI.__configureIgnoredExceptions">__configureIgnoredExceptions</a></td> |
|
144 <td>Private slot for displaying the ignored exceptions dialog.</td> |
|
145 </tr><tr> |
|
146 <td><a href="#DebugUI.__configureVariablesFilters">__configureVariablesFilters</a></td> |
|
147 <td>Private slot for displaying the variables filter configuration dialog.</td> |
|
148 </tr><tr> |
|
149 <td><a href="#DebugUI.__continue">__continue</a></td> |
|
150 <td>Private method to handle the Continue action.</td> |
|
151 </tr><tr> |
|
152 <td><a href="#DebugUI.__coverageProject">__coverageProject</a></td> |
|
153 <td>Private slot to handle the coverage of project action.</td> |
|
154 </tr><tr> |
|
155 <td><a href="#DebugUI.__coverageScript">__coverageScript</a></td> |
|
156 <td>Private slot to handle the coverage of script action.</td> |
|
157 </tr><tr> |
|
158 <td><a href="#DebugUI.__cursorChanged">__cursorChanged</a></td> |
|
159 <td>Private slot handling the cursorChanged signal of the viewmanager.</td> |
|
160 </tr><tr> |
|
161 <td><a href="#DebugUI.__debugProject">__debugProject</a></td> |
|
162 <td>Private slot to handle the debug project action.</td> |
|
163 </tr><tr> |
|
164 <td><a href="#DebugUI.__debugScript">__debugScript</a></td> |
|
165 <td>Private slot to handle the debug script action.</td> |
|
166 </tr><tr> |
|
167 <td><a href="#DebugUI.__doCoverage">__doCoverage</a></td> |
|
168 <td>Private method to handle the coverage actions.</td> |
|
169 </tr><tr> |
|
170 <td><a href="#DebugUI.__doDebug">__doDebug</a></td> |
|
171 <td>Private method to handle the debug actions.</td> |
|
172 </tr><tr> |
|
173 <td><a href="#DebugUI.__doProfile">__doProfile</a></td> |
|
174 <td>Private method to handle the profile actions.</td> |
|
175 </tr><tr> |
|
176 <td><a href="#DebugUI.__doRestart">__doRestart</a></td> |
|
177 <td>Private slot to handle the restart action to restart the last debugged file.</td> |
|
178 </tr><tr> |
|
179 <td><a href="#DebugUI.__doRun">__doRun</a></td> |
|
180 <td>Private method to handle the run actions.</td> |
|
181 </tr><tr> |
|
182 <td><a href="#DebugUI.__editBreakpoint">__editBreakpoint</a></td> |
|
183 <td>Private slot to handle the 'Edit breakpoint' action.</td> |
|
184 </tr><tr> |
|
185 <td><a href="#DebugUI.__editorOpened">__editorOpened</a></td> |
|
186 <td>Private slot to handle the editorOpened signal.</td> |
|
187 </tr><tr> |
|
188 <td><a href="#DebugUI.__enterRemote">__enterRemote</a></td> |
|
189 <td>Private method to update the user interface.</td> |
|
190 </tr><tr> |
|
191 <td><a href="#DebugUI.__getClientVariables">__getClientVariables</a></td> |
|
192 <td>Private method to request the global and local variables.</td> |
|
193 </tr><tr> |
|
194 <td><a href="#DebugUI.__getThreadList">__getThreadList</a></td> |
|
195 <td>Private method to get the list of threads from the client.</td> |
|
196 </tr><tr> |
|
197 <td><a href="#DebugUI.__lastEditorClosed">__lastEditorClosed</a></td> |
|
198 <td>Private slot to handle the closeProgram signal.</td> |
|
199 </tr><tr> |
|
200 <td><a href="#DebugUI.__moveInstructionPointer">__moveInstructionPointer</a></td> |
|
201 <td>Private method to move the instruction pointer to a different line.</td> |
|
202 </tr><tr> |
|
203 <td><a href="#DebugUI.__nextBreakpoint">__nextBreakpoint</a></td> |
|
204 <td>Private slot to handle the 'Next breakpoint' action.</td> |
|
205 </tr><tr> |
|
206 <td><a href="#DebugUI.__passiveDebugStarted">__passiveDebugStarted</a></td> |
|
207 <td>Private slot to handle a passive debug session start.</td> |
|
208 </tr><tr> |
|
209 <td><a href="#DebugUI.__previousBreakpoint">__previousBreakpoint</a></td> |
|
210 <td>Private slot to handle the 'Previous breakpoint' action.</td> |
|
211 </tr><tr> |
|
212 <td><a href="#DebugUI.__profileProject">__profileProject</a></td> |
|
213 <td>Private slot to handle the profile project action.</td> |
|
214 </tr><tr> |
|
215 <td><a href="#DebugUI.__profileScript">__profileScript</a></td> |
|
216 <td>Private slot to handle the profile script action.</td> |
|
217 </tr><tr> |
|
218 <td><a href="#DebugUI.__projectClosed">__projectClosed</a></td> |
|
219 <td>Private slot to handle the projectClosed signal.</td> |
|
220 </tr><tr> |
|
221 <td><a href="#DebugUI.__projectOpened">__projectOpened</a></td> |
|
222 <td>Private slot to handle the projectOpened signal.</td> |
|
223 </tr><tr> |
|
224 <td><a href="#DebugUI.__resetUI">__resetUI</a></td> |
|
225 <td>Private slot to reset the user interface.</td> |
|
226 </tr><tr> |
|
227 <td><a href="#DebugUI.__runProject">__runProject</a></td> |
|
228 <td>Private slot to handle the run project action.</td> |
|
229 </tr><tr> |
|
230 <td><a href="#DebugUI.__runScript">__runScript</a></td> |
|
231 <td>Private slot to handle the run script action.</td> |
|
232 </tr><tr> |
|
233 <td><a href="#DebugUI.__runToCursor">__runToCursor</a></td> |
|
234 <td>Private method to handle the Run to Cursor action.</td> |
|
235 </tr><tr> |
|
236 <td><a href="#DebugUI.__showBreakpointsMenu">__showBreakpointsMenu</a></td> |
|
237 <td>Private method to handle the show breakpoints menu signal.</td> |
|
238 </tr><tr> |
|
239 <td><a href="#DebugUI.__showDebugMenu">__showDebugMenu</a></td> |
|
240 <td>Private method to set up the debug menu.</td> |
|
241 </tr><tr> |
|
242 <td><a href="#DebugUI.__specialContinue">__specialContinue</a></td> |
|
243 <td>Private method to handle the Special Continue action.</td> |
|
244 </tr><tr> |
|
245 <td><a href="#DebugUI.__step">__step</a></td> |
|
246 <td>Private method to handle the Step action.</td> |
|
247 </tr><tr> |
|
248 <td><a href="#DebugUI.__stepOut">__stepOut</a></td> |
|
249 <td>Private method to handle the Step Out action.</td> |
|
250 </tr><tr> |
|
251 <td><a href="#DebugUI.__stepOver">__stepOver</a></td> |
|
252 <td>Private method to handle the Step Over action.</td> |
|
253 </tr><tr> |
|
254 <td><a href="#DebugUI.__stepQuit">__stepQuit</a></td> |
|
255 <td>Private method to handle the Step Quit action.</td> |
|
256 </tr><tr> |
|
257 <td><a href="#DebugUI.__stopScript">__stopScript</a></td> |
|
258 <td>Private slot to stop the running script.</td> |
|
259 </tr><tr> |
|
260 <td><a href="#DebugUI.__toggleBreakpoint">__toggleBreakpoint</a></td> |
|
261 <td>Private slot to handle the 'Set/Reset breakpoint' action.</td> |
|
262 </tr><tr> |
|
263 <td><a href="#DebugUI.clearHistories">clearHistories</a></td> |
|
264 <td>Public method to clear the various debug histories.</td> |
|
265 </tr><tr> |
|
266 <td><a href="#DebugUI.getActions">getActions</a></td> |
|
267 <td>Public method to get a list of all actions.</td> |
|
268 </tr><tr> |
|
269 <td><a href="#DebugUI.initActions">initActions</a></td> |
|
270 <td>Public method defining the user interface actions.</td> |
|
271 </tr><tr> |
|
272 <td><a href="#DebugUI.initMenus">initMenus</a></td> |
|
273 <td>Public slot to initialize the project menu.</td> |
|
274 </tr><tr> |
|
275 <td><a href="#DebugUI.initToolbars">initToolbars</a></td> |
|
276 <td>Public slot to initialize the debug toolbars.</td> |
|
277 </tr><tr> |
|
278 <td><a href="#DebugUI.setArgvHistory">setArgvHistory</a></td> |
|
279 <td>Public slot to initialize the argv history.</td> |
|
280 </tr><tr> |
|
281 <td><a href="#DebugUI.setAutoClearShell">setAutoClearShell</a></td> |
|
282 <td>Public slot to initialize the autoClearShell flag.</td> |
|
283 </tr><tr> |
|
284 <td><a href="#DebugUI.setAutoContinue">setAutoContinue</a></td> |
|
285 <td>Public slot to initialize the autoContinue flag.</td> |
|
286 </tr><tr> |
|
287 <td><a href="#DebugUI.setEnvHistory">setEnvHistory</a></td> |
|
288 <td>Public slot to initialize the env history.</td> |
|
289 </tr><tr> |
|
290 <td><a href="#DebugUI.setExcIgnoreList">setExcIgnoreList</a></td> |
|
291 <td>Public slot to initialize the ignored exceptions type list.</td> |
|
292 </tr><tr> |
|
293 <td><a href="#DebugUI.setExcList">setExcList</a></td> |
|
294 <td>Public slot to initialize the exceptions type list.</td> |
|
295 </tr><tr> |
|
296 <td><a href="#DebugUI.setExceptionReporting">setExceptionReporting</a></td> |
|
297 <td>Public slot to initialize the exception reporting flag.</td> |
|
298 </tr><tr> |
|
299 <td><a href="#DebugUI.setTracePython">setTracePython</a></td> |
|
300 <td>Public slot to initialize the trace Python flag.</td> |
|
301 </tr><tr> |
|
302 <td><a href="#DebugUI.setWdHistory">setWdHistory</a></td> |
|
303 <td>Public slot to initialize the wd history.</td> |
|
304 </tr><tr> |
|
305 <td><a href="#DebugUI.shutdown">shutdown</a></td> |
|
306 <td>Public method to perform shutdown actions.</td> |
|
307 </tr><tr> |
|
308 <td><a href="#DebugUI.shutdownServer">shutdownServer</a></td> |
|
309 <td>Public method to shut down the debug server.</td> |
|
310 </tr><tr> |
|
311 <td><a href="#DebugUI.variablesFilter">variablesFilter</a></td> |
|
312 <td>Public method to get the variables filter for a scope.</td> |
|
313 </tr> |
|
314 </table> |
|
315 <h3>Static Methods</h3> |
|
316 <table> |
|
317 <tr><td>None</td></tr> |
|
318 </table> |
|
319 <a NAME="DebugUI.__init__" ID="DebugUI.__init__"></a> |
|
320 <h4>DebugUI (Constructor)</h4> |
|
321 <b>DebugUI</b>(<i>ui, vm, debugServer, debugViewer, project</i>) |
|
322 <p> |
|
323 Constructor |
|
324 </p><dl> |
|
325 <dt><i>ui</i></dt> |
|
326 <dd> |
|
327 reference to the main UI |
|
328 </dd><dt><i>vm</i></dt> |
|
329 <dd> |
|
330 reference to the viewmanager |
|
331 </dd><dt><i>debugServer</i></dt> |
|
332 <dd> |
|
333 reference to the debug server |
|
334 </dd><dt><i>debugViewer</i></dt> |
|
335 <dd> |
|
336 reference to the debug viewer widget |
|
337 </dd><dt><i>project</i></dt> |
|
338 <dd> |
|
339 reference to the project object |
|
340 </dd> |
|
341 </dl><a NAME="DebugUI.__breakpointSelected" ID="DebugUI.__breakpointSelected"></a> |
|
342 <h4>DebugUI.__breakpointSelected</h4> |
|
343 <b>__breakpointSelected</b>(<i>act</i>) |
|
344 <p> |
|
345 Private method to handle the breakpoint selected signal. |
|
346 </p><dl> |
|
347 <dt><i>act</i></dt> |
|
348 <dd> |
|
349 reference to the action that triggered (QAction) |
|
350 </dd> |
|
351 </dl><a NAME="DebugUI.__checkActions" ID="DebugUI.__checkActions"></a> |
|
352 <h4>DebugUI.__checkActions</h4> |
|
353 <b>__checkActions</b>(<i>editor</i>) |
|
354 <p> |
|
355 Private slot to check some actions for their enable/disable status. |
|
356 </p><dl> |
|
357 <dt><i>editor</i></dt> |
|
358 <dd> |
|
359 editor window |
|
360 </dd> |
|
361 </dl><a NAME="DebugUI.__clearBreakpoints" ID="DebugUI.__clearBreakpoints"></a> |
|
362 <h4>DebugUI.__clearBreakpoints</h4> |
|
363 <b>__clearBreakpoints</b>(<i></i>) |
|
364 <p> |
|
365 Private slot to handle the 'Clear breakpoints' action. |
|
366 </p><a NAME="DebugUI.__clientBreakConditionError" ID="DebugUI.__clientBreakConditionError"></a> |
|
367 <h4>DebugUI.__clientBreakConditionError</h4> |
|
368 <b>__clientBreakConditionError</b>(<i>filename, lineno</i>) |
|
369 <p> |
|
370 Private method to handle a condition error of a breakpoint. |
|
371 </p><dl> |
|
372 <dt><i>filename</i></dt> |
|
373 <dd> |
|
374 filename of the breakpoint (string) |
|
375 </dd><dt><i>lineno</i></dt> |
|
376 <dd> |
|
377 linenumber of the breakpoint (integer) |
|
378 </dd> |
|
379 </dl><a NAME="DebugUI.__clientException" ID="DebugUI.__clientException"></a> |
|
380 <h4>DebugUI.__clientException</h4> |
|
381 <b>__clientException</b>(<i>exceptionType, exceptionMessage, stackTrace</i>) |
|
382 <p> |
|
383 Private method to handle an exception of the debugged program. |
|
384 </p><dl> |
|
385 <dt><i>exceptionType</i></dt> |
|
386 <dd> |
|
387 type of exception raised (string) |
|
388 </dd><dt><i>exceptionMessage</i></dt> |
|
389 <dd> |
|
390 message given by the exception (string) |
|
391 </dd><dt><i>stackTrace</i></dt> |
|
392 <dd> |
|
393 list of stack entries (list of string) |
|
394 </dd> |
|
395 </dl><a NAME="DebugUI.__clientExit" ID="DebugUI.__clientExit"></a> |
|
396 <h4>DebugUI.__clientExit</h4> |
|
397 <b>__clientExit</b>(<i>status, message, quiet</i>) |
|
398 <p> |
|
399 Private method to handle the debugged program terminating. |
|
400 </p><dl> |
|
401 <dt><i>status</i> (int)</dt> |
|
402 <dd> |
|
403 exit code of the debugged program |
|
404 </dd><dt><i>message</i> (str)</dt> |
|
405 <dd> |
|
406 exit message of the debugged program |
|
407 </dd><dt><i>quiet</i> (bool)</dt> |
|
408 <dd> |
|
409 flag indicating to suppress exit info display |
|
410 </dd> |
|
411 </dl><a NAME="DebugUI.__clientGone" ID="DebugUI.__clientGone"></a> |
|
412 <h4>DebugUI.__clientGone</h4> |
|
413 <b>__clientGone</b>(<i>unplanned</i>) |
|
414 <p> |
|
415 Private method to handle the disconnection of the debugger client. |
|
416 </p><dl> |
|
417 <dt><i>unplanned</i></dt> |
|
418 <dd> |
|
419 True if the client died, False otherwise |
|
420 </dd> |
|
421 </dl><a NAME="DebugUI.__clientLine" ID="DebugUI.__clientLine"></a> |
|
422 <h4>DebugUI.__clientLine</h4> |
|
423 <b>__clientLine</b>(<i>fn, line, forStack</i>) |
|
424 <p> |
|
425 Private method to handle a change to the current line. |
|
426 </p><dl> |
|
427 <dt><i>fn</i></dt> |
|
428 <dd> |
|
429 filename (string) |
|
430 </dd><dt><i>line</i></dt> |
|
431 <dd> |
|
432 linenumber (int) |
|
433 </dd><dt><i>forStack</i></dt> |
|
434 <dd> |
|
435 flag indicating this is for a stack dump (boolean) |
|
436 </dd> |
|
437 </dl><a NAME="DebugUI.__clientSignal" ID="DebugUI.__clientSignal"></a> |
|
438 <h4>DebugUI.__clientSignal</h4> |
|
439 <b>__clientSignal</b>(<i>message, filename, lineNo, funcName, funcArgs</i>) |
|
440 <p> |
|
441 Private method to handle a signal generated on the client side. |
|
442 </p><dl> |
|
443 <dt><i>message</i> (str)</dt> |
|
444 <dd> |
|
445 message of the syntax error |
|
446 </dd><dt><i>filename</i> (str)</dt> |
|
447 <dd> |
|
448 translated filename of the syntax error position |
|
449 </dd><dt><i>lineNo</i> (int)</dt> |
|
450 <dd> |
|
451 line number of the syntax error position |
|
452 </dd><dt><i>funcName</i> (str)</dt> |
|
453 <dd> |
|
454 name of the function causing the signal |
|
455 </dd><dt><i>funcArgs</i> (str)</dt> |
|
456 <dd> |
|
457 function arguments |
|
458 </dd> |
|
459 </dl><a NAME="DebugUI.__clientSyntaxError" ID="DebugUI.__clientSyntaxError"></a> |
|
460 <h4>DebugUI.__clientSyntaxError</h4> |
|
461 <b>__clientSyntaxError</b>(<i>message, filename, lineNo, characterNo</i>) |
|
462 <p> |
|
463 Private method to handle a syntax error in the debugged program. |
|
464 </p><dl> |
|
465 <dt><i>message</i></dt> |
|
466 <dd> |
|
467 message of the syntax error (string) |
|
468 </dd><dt><i>filename</i></dt> |
|
469 <dd> |
|
470 translated filename of the syntax error position |
|
471 (string) |
|
472 </dd><dt><i>lineNo</i></dt> |
|
473 <dd> |
|
474 line number of the syntax error position (integer) |
|
475 </dd><dt><i>characterNo</i></dt> |
|
476 <dd> |
|
477 character number of the syntax error position |
|
478 (integer) |
|
479 </dd> |
|
480 </dl><a NAME="DebugUI.__clientThreadSet" ID="DebugUI.__clientThreadSet"></a> |
|
481 <h4>DebugUI.__clientThreadSet</h4> |
|
482 <b>__clientThreadSet</b>(<i></i>) |
|
483 <p> |
|
484 Private method to handle a change of the client's current thread. |
|
485 </p><a NAME="DebugUI.__clientVariable" ID="DebugUI.__clientVariable"></a> |
|
486 <h4>DebugUI.__clientVariable</h4> |
|
487 <b>__clientVariable</b>(<i>scope, variables</i>) |
|
488 <p> |
|
489 Private method to write the contents of a clients classvariable to |
|
490 the user interface. |
|
491 </p><dl> |
|
492 <dt><i>scope</i></dt> |
|
493 <dd> |
|
494 scope of the variables (-1 = empty global, 1 = global, |
|
495 0 = local) |
|
496 </dd><dt><i>variables</i></dt> |
|
497 <dd> |
|
498 the list of members of a classvariable from the client |
|
499 </dd> |
|
500 </dl><a NAME="DebugUI.__clientVariables" ID="DebugUI.__clientVariables"></a> |
|
501 <h4>DebugUI.__clientVariables</h4> |
|
502 <b>__clientVariables</b>(<i>scope, variables</i>) |
|
503 <p> |
|
504 Private method to write the clients variables to the user interface. |
|
505 </p><dl> |
|
506 <dt><i>scope</i></dt> |
|
507 <dd> |
|
508 scope of the variables (-1 = empty global, 1 = global, |
|
509 0 = local) |
|
510 </dd><dt><i>variables</i></dt> |
|
511 <dd> |
|
512 the list of variables from the client |
|
513 </dd> |
|
514 </dl><a NAME="DebugUI.__clientWatchConditionError" ID="DebugUI.__clientWatchConditionError"></a> |
|
515 <h4>DebugUI.__clientWatchConditionError</h4> |
|
516 <b>__clientWatchConditionError</b>(<i>cond</i>) |
|
517 <p> |
|
518 Private method to handle a expression error of a watch expression. |
|
519 </p><p> |
|
520 Note: This can only happen for normal watch expressions |
|
521 </p><dl> |
|
522 <dt><i>cond</i></dt> |
|
523 <dd> |
|
524 expression of the watch expression (string) |
|
525 </dd> |
|
526 </dl><a NAME="DebugUI.__compileChangedProjectFiles" ID="DebugUI.__compileChangedProjectFiles"></a> |
|
527 <h4>DebugUI.__compileChangedProjectFiles</h4> |
|
528 <b>__compileChangedProjectFiles</b>(<i></i>) |
|
529 <p> |
|
530 Private method to signal compilation of changed forms and resources |
|
531 is wanted. |
|
532 </p><a NAME="DebugUI.__configureExceptionsFilter" ID="DebugUI.__configureExceptionsFilter"></a> |
|
533 <h4>DebugUI.__configureExceptionsFilter</h4> |
|
534 <b>__configureExceptionsFilter</b>(<i></i>) |
|
535 <p> |
|
536 Private slot for displaying the exception filter dialog. |
|
537 </p><a NAME="DebugUI.__configureIgnoredExceptions" ID="DebugUI.__configureIgnoredExceptions"></a> |
|
538 <h4>DebugUI.__configureIgnoredExceptions</h4> |
|
539 <b>__configureIgnoredExceptions</b>(<i></i>) |
|
540 <p> |
|
541 Private slot for displaying the ignored exceptions dialog. |
|
542 </p><a NAME="DebugUI.__configureVariablesFilters" ID="DebugUI.__configureVariablesFilters"></a> |
|
543 <h4>DebugUI.__configureVariablesFilters</h4> |
|
544 <b>__configureVariablesFilters</b>(<i></i>) |
|
545 <p> |
|
546 Private slot for displaying the variables filter configuration dialog. |
|
547 </p><a NAME="DebugUI.__continue" ID="DebugUI.__continue"></a> |
|
548 <h4>DebugUI.__continue</h4> |
|
549 <b>__continue</b>(<i></i>) |
|
550 <p> |
|
551 Private method to handle the Continue action. |
|
552 </p><a NAME="DebugUI.__coverageProject" ID="DebugUI.__coverageProject"></a> |
|
553 <h4>DebugUI.__coverageProject</h4> |
|
554 <b>__coverageProject</b>(<i></i>) |
|
555 <p> |
|
556 Private slot to handle the coverage of project action. |
|
557 </p><a NAME="DebugUI.__coverageScript" ID="DebugUI.__coverageScript"></a> |
|
558 <h4>DebugUI.__coverageScript</h4> |
|
559 <b>__coverageScript</b>(<i></i>) |
|
560 <p> |
|
561 Private slot to handle the coverage of script action. |
|
562 </p><a NAME="DebugUI.__cursorChanged" ID="DebugUI.__cursorChanged"></a> |
|
563 <h4>DebugUI.__cursorChanged</h4> |
|
564 <b>__cursorChanged</b>(<i>editor</i>) |
|
565 <p> |
|
566 Private slot handling the cursorChanged signal of the viewmanager. |
|
567 </p><dl> |
|
568 <dt><i>editor</i></dt> |
|
569 <dd> |
|
570 editor window |
|
571 </dd> |
|
572 </dl><a NAME="DebugUI.__debugProject" ID="DebugUI.__debugProject"></a> |
|
573 <h4>DebugUI.__debugProject</h4> |
|
574 <b>__debugProject</b>(<i></i>) |
|
575 <p> |
|
576 Private slot to handle the debug project action. |
|
577 </p><a NAME="DebugUI.__debugScript" ID="DebugUI.__debugScript"></a> |
|
578 <h4>DebugUI.__debugScript</h4> |
|
579 <b>__debugScript</b>(<i></i>) |
|
580 <p> |
|
581 Private slot to handle the debug script action. |
|
582 </p><a NAME="DebugUI.__doCoverage" ID="DebugUI.__doCoverage"></a> |
|
583 <h4>DebugUI.__doCoverage</h4> |
|
584 <b>__doCoverage</b>(<i>runProject</i>) |
|
585 <p> |
|
586 Private method to handle the coverage actions. |
|
587 </p><dl> |
|
588 <dt><i>runProject</i></dt> |
|
589 <dd> |
|
590 flag indicating coverage of the current project |
|
591 (True) or script (false) |
|
592 </dd> |
|
593 </dl><a NAME="DebugUI.__doDebug" ID="DebugUI.__doDebug"></a> |
|
594 <h4>DebugUI.__doDebug</h4> |
|
595 <b>__doDebug</b>(<i>debugProject</i>) |
|
596 <p> |
|
597 Private method to handle the debug actions. |
|
598 </p><dl> |
|
599 <dt><i>debugProject</i></dt> |
|
600 <dd> |
|
601 flag indicating debugging the current project |
|
602 (True) or script (False) |
|
603 </dd> |
|
604 </dl><a NAME="DebugUI.__doProfile" ID="DebugUI.__doProfile"></a> |
|
605 <h4>DebugUI.__doProfile</h4> |
|
606 <b>__doProfile</b>(<i>runProject</i>) |
|
607 <p> |
|
608 Private method to handle the profile actions. |
|
609 </p><dl> |
|
610 <dt><i>runProject</i></dt> |
|
611 <dd> |
|
612 flag indicating profiling of the current project |
|
613 (True) or script (False) |
|
614 </dd> |
|
615 </dl><a NAME="DebugUI.__doRestart" ID="DebugUI.__doRestart"></a> |
|
616 <h4>DebugUI.__doRestart</h4> |
|
617 <b>__doRestart</b>(<i></i>) |
|
618 <p> |
|
619 Private slot to handle the restart action to restart the last |
|
620 debugged file. |
|
621 </p><a NAME="DebugUI.__doRun" ID="DebugUI.__doRun"></a> |
|
622 <h4>DebugUI.__doRun</h4> |
|
623 <b>__doRun</b>(<i>runProject</i>) |
|
624 <p> |
|
625 Private method to handle the run actions. |
|
626 </p><dl> |
|
627 <dt><i>runProject</i></dt> |
|
628 <dd> |
|
629 flag indicating running the current project (True) |
|
630 or script (False) |
|
631 </dd> |
|
632 </dl><a NAME="DebugUI.__editBreakpoint" ID="DebugUI.__editBreakpoint"></a> |
|
633 <h4>DebugUI.__editBreakpoint</h4> |
|
634 <b>__editBreakpoint</b>(<i></i>) |
|
635 <p> |
|
636 Private slot to handle the 'Edit breakpoint' action. |
|
637 </p><a NAME="DebugUI.__editorOpened" ID="DebugUI.__editorOpened"></a> |
|
638 <h4>DebugUI.__editorOpened</h4> |
|
639 <b>__editorOpened</b>(<i>fn</i>) |
|
640 <p> |
|
641 Private slot to handle the editorOpened signal. |
|
642 </p><dl> |
|
643 <dt><i>fn</i></dt> |
|
644 <dd> |
|
645 filename of the opened editor |
|
646 </dd> |
|
647 </dl><a NAME="DebugUI.__enterRemote" ID="DebugUI.__enterRemote"></a> |
|
648 <h4>DebugUI.__enterRemote</h4> |
|
649 <b>__enterRemote</b>(<i></i>) |
|
650 <p> |
|
651 Private method to update the user interface. |
|
652 </p><p> |
|
653 This method is called just prior to executing some of |
|
654 the program being debugged. |
|
655 </p><a NAME="DebugUI.__getClientVariables" ID="DebugUI.__getClientVariables"></a> |
|
656 <h4>DebugUI.__getClientVariables</h4> |
|
657 <b>__getClientVariables</b>(<i></i>) |
|
658 <p> |
|
659 Private method to request the global and local variables. |
|
660 </p><p> |
|
661 In the first step, the global variables are requested from the client. |
|
662 Once these have been received, the local variables are requested. |
|
663 This happens in the method '__clientVariables'. |
|
664 </p><a NAME="DebugUI.__getThreadList" ID="DebugUI.__getThreadList"></a> |
|
665 <h4>DebugUI.__getThreadList</h4> |
|
666 <b>__getThreadList</b>(<i></i>) |
|
667 <p> |
|
668 Private method to get the list of threads from the client. |
|
669 </p><a NAME="DebugUI.__lastEditorClosed" ID="DebugUI.__lastEditorClosed"></a> |
|
670 <h4>DebugUI.__lastEditorClosed</h4> |
|
671 <b>__lastEditorClosed</b>(<i></i>) |
|
672 <p> |
|
673 Private slot to handle the closeProgram signal. |
|
674 </p><a NAME="DebugUI.__moveInstructionPointer" ID="DebugUI.__moveInstructionPointer"></a> |
|
675 <h4>DebugUI.__moveInstructionPointer</h4> |
|
676 <b>__moveInstructionPointer</b>(<i></i>) |
|
677 <p> |
|
678 Private method to move the instruction pointer to a different line. |
|
679 </p><a NAME="DebugUI.__nextBreakpoint" ID="DebugUI.__nextBreakpoint"></a> |
|
680 <h4>DebugUI.__nextBreakpoint</h4> |
|
681 <b>__nextBreakpoint</b>(<i></i>) |
|
682 <p> |
|
683 Private slot to handle the 'Next breakpoint' action. |
|
684 </p><a NAME="DebugUI.__passiveDebugStarted" ID="DebugUI.__passiveDebugStarted"></a> |
|
685 <h4>DebugUI.__passiveDebugStarted</h4> |
|
686 <b>__passiveDebugStarted</b>(<i>fn, exc</i>) |
|
687 <p> |
|
688 Private slot to handle a passive debug session start. |
|
689 </p><dl> |
|
690 <dt><i>fn</i></dt> |
|
691 <dd> |
|
692 filename of the debugged script |
|
693 </dd><dt><i>exc</i></dt> |
|
694 <dd> |
|
695 flag to enable exception reporting of the IDE (boolean) |
|
696 </dd> |
|
697 </dl><a NAME="DebugUI.__previousBreakpoint" ID="DebugUI.__previousBreakpoint"></a> |
|
698 <h4>DebugUI.__previousBreakpoint</h4> |
|
699 <b>__previousBreakpoint</b>(<i></i>) |
|
700 <p> |
|
701 Private slot to handle the 'Previous breakpoint' action. |
|
702 </p><a NAME="DebugUI.__profileProject" ID="DebugUI.__profileProject"></a> |
|
703 <h4>DebugUI.__profileProject</h4> |
|
704 <b>__profileProject</b>(<i></i>) |
|
705 <p> |
|
706 Private slot to handle the profile project action. |
|
707 </p><a NAME="DebugUI.__profileScript" ID="DebugUI.__profileScript"></a> |
|
708 <h4>DebugUI.__profileScript</h4> |
|
709 <b>__profileScript</b>(<i></i>) |
|
710 <p> |
|
711 Private slot to handle the profile script action. |
|
712 </p><a NAME="DebugUI.__projectClosed" ID="DebugUI.__projectClosed"></a> |
|
713 <h4>DebugUI.__projectClosed</h4> |
|
714 <b>__projectClosed</b>(<i></i>) |
|
715 <p> |
|
716 Private slot to handle the projectClosed signal. |
|
717 </p><a NAME="DebugUI.__projectOpened" ID="DebugUI.__projectOpened"></a> |
|
718 <h4>DebugUI.__projectOpened</h4> |
|
719 <b>__projectOpened</b>(<i></i>) |
|
720 <p> |
|
721 Private slot to handle the projectOpened signal. |
|
722 </p><a NAME="DebugUI.__resetUI" ID="DebugUI.__resetUI"></a> |
|
723 <h4>DebugUI.__resetUI</h4> |
|
724 <b>__resetUI</b>(<i></i>) |
|
725 <p> |
|
726 Private slot to reset the user interface. |
|
727 </p><a NAME="DebugUI.__runProject" ID="DebugUI.__runProject"></a> |
|
728 <h4>DebugUI.__runProject</h4> |
|
729 <b>__runProject</b>(<i></i>) |
|
730 <p> |
|
731 Private slot to handle the run project action. |
|
732 </p><a NAME="DebugUI.__runScript" ID="DebugUI.__runScript"></a> |
|
733 <h4>DebugUI.__runScript</h4> |
|
734 <b>__runScript</b>(<i></i>) |
|
735 <p> |
|
736 Private slot to handle the run script action. |
|
737 </p><a NAME="DebugUI.__runToCursor" ID="DebugUI.__runToCursor"></a> |
|
738 <h4>DebugUI.__runToCursor</h4> |
|
739 <b>__runToCursor</b>(<i></i>) |
|
740 <p> |
|
741 Private method to handle the Run to Cursor action. |
|
742 </p><a NAME="DebugUI.__showBreakpointsMenu" ID="DebugUI.__showBreakpointsMenu"></a> |
|
743 <h4>DebugUI.__showBreakpointsMenu</h4> |
|
744 <b>__showBreakpointsMenu</b>(<i></i>) |
|
745 <p> |
|
746 Private method to handle the show breakpoints menu signal. |
|
747 </p><a NAME="DebugUI.__showDebugMenu" ID="DebugUI.__showDebugMenu"></a> |
|
748 <h4>DebugUI.__showDebugMenu</h4> |
|
749 <b>__showDebugMenu</b>(<i></i>) |
|
750 <p> |
|
751 Private method to set up the debug menu. |
|
752 </p><a NAME="DebugUI.__specialContinue" ID="DebugUI.__specialContinue"></a> |
|
753 <h4>DebugUI.__specialContinue</h4> |
|
754 <b>__specialContinue</b>(<i></i>) |
|
755 <p> |
|
756 Private method to handle the Special Continue action. |
|
757 </p><a NAME="DebugUI.__step" ID="DebugUI.__step"></a> |
|
758 <h4>DebugUI.__step</h4> |
|
759 <b>__step</b>(<i></i>) |
|
760 <p> |
|
761 Private method to handle the Step action. |
|
762 </p><a NAME="DebugUI.__stepOut" ID="DebugUI.__stepOut"></a> |
|
763 <h4>DebugUI.__stepOut</h4> |
|
764 <b>__stepOut</b>(<i></i>) |
|
765 <p> |
|
766 Private method to handle the Step Out action. |
|
767 </p><a NAME="DebugUI.__stepOver" ID="DebugUI.__stepOver"></a> |
|
768 <h4>DebugUI.__stepOver</h4> |
|
769 <b>__stepOver</b>(<i></i>) |
|
770 <p> |
|
771 Private method to handle the Step Over action. |
|
772 </p><a NAME="DebugUI.__stepQuit" ID="DebugUI.__stepQuit"></a> |
|
773 <h4>DebugUI.__stepQuit</h4> |
|
774 <b>__stepQuit</b>(<i></i>) |
|
775 <p> |
|
776 Private method to handle the Step Quit action. |
|
777 </p><a NAME="DebugUI.__stopScript" ID="DebugUI.__stopScript"></a> |
|
778 <h4>DebugUI.__stopScript</h4> |
|
779 <b>__stopScript</b>(<i></i>) |
|
780 <p> |
|
781 Private slot to stop the running script. |
|
782 </p><a NAME="DebugUI.__toggleBreakpoint" ID="DebugUI.__toggleBreakpoint"></a> |
|
783 <h4>DebugUI.__toggleBreakpoint</h4> |
|
784 <b>__toggleBreakpoint</b>(<i></i>) |
|
785 <p> |
|
786 Private slot to handle the 'Set/Reset breakpoint' action. |
|
787 </p><a NAME="DebugUI.clearHistories" ID="DebugUI.clearHistories"></a> |
|
788 <h4>DebugUI.clearHistories</h4> |
|
789 <b>clearHistories</b>(<i></i>) |
|
790 <p> |
|
791 Public method to clear the various debug histories. |
|
792 </p><a NAME="DebugUI.getActions" ID="DebugUI.getActions"></a> |
|
793 <h4>DebugUI.getActions</h4> |
|
794 <b>getActions</b>(<i></i>) |
|
795 <p> |
|
796 Public method to get a list of all actions. |
|
797 </p><dl> |
|
798 <dt>Returns:</dt> |
|
799 <dd> |
|
800 list of all actions (list of E5Action) |
|
801 </dd> |
|
802 </dl><a NAME="DebugUI.initActions" ID="DebugUI.initActions"></a> |
|
803 <h4>DebugUI.initActions</h4> |
|
804 <b>initActions</b>(<i></i>) |
|
805 <p> |
|
806 Public method defining the user interface actions. |
|
807 </p><a NAME="DebugUI.initMenus" ID="DebugUI.initMenus"></a> |
|
808 <h4>DebugUI.initMenus</h4> |
|
809 <b>initMenus</b>(<i></i>) |
|
810 <p> |
|
811 Public slot to initialize the project menu. |
|
812 </p><dl> |
|
813 <dt>Returns:</dt> |
|
814 <dd> |
|
815 the generated menu |
|
816 </dd> |
|
817 </dl><a NAME="DebugUI.initToolbars" ID="DebugUI.initToolbars"></a> |
|
818 <h4>DebugUI.initToolbars</h4> |
|
819 <b>initToolbars</b>(<i>toolbarManager</i>) |
|
820 <p> |
|
821 Public slot to initialize the debug toolbars. |
|
822 </p><dl> |
|
823 <dt><i>toolbarManager</i></dt> |
|
824 <dd> |
|
825 reference to a toolbar manager object |
|
826 (E5ToolBarManager) |
|
827 </dd> |
|
828 </dl><dl> |
|
829 <dt>Returns:</dt> |
|
830 <dd> |
|
831 the generated toolbars (list of QToolBar) |
|
832 </dd> |
|
833 </dl><a NAME="DebugUI.setArgvHistory" ID="DebugUI.setArgvHistory"></a> |
|
834 <h4>DebugUI.setArgvHistory</h4> |
|
835 <b>setArgvHistory</b>(<i>argsStr, clearHistories=False, history=None</i>) |
|
836 <p> |
|
837 Public slot to initialize the argv history. |
|
838 </p><dl> |
|
839 <dt><i>argsStr</i></dt> |
|
840 <dd> |
|
841 the commandline arguments (string) |
|
842 </dd><dt><i>clearHistories</i></dt> |
|
843 <dd> |
|
844 flag indicating, that the list should |
|
845 be cleared (boolean) |
|
846 </dd><dt><i>history</i></dt> |
|
847 <dd> |
|
848 list of history entries to be set (list of strings) |
|
849 </dd> |
|
850 </dl><a NAME="DebugUI.setAutoClearShell" ID="DebugUI.setAutoClearShell"></a> |
|
851 <h4>DebugUI.setAutoClearShell</h4> |
|
852 <b>setAutoClearShell</b>(<i>autoClearShell</i>) |
|
853 <p> |
|
854 Public slot to initialize the autoClearShell flag. |
|
855 </p><dl> |
|
856 <dt><i>autoClearShell</i></dt> |
|
857 <dd> |
|
858 flag indicating, that the interpreter window |
|
859 should be cleared (boolean) |
|
860 </dd> |
|
861 </dl><a NAME="DebugUI.setAutoContinue" ID="DebugUI.setAutoContinue"></a> |
|
862 <h4>DebugUI.setAutoContinue</h4> |
|
863 <b>setAutoContinue</b>(<i>autoContinue</i>) |
|
864 <p> |
|
865 Public slot to initialize the autoContinue flag. |
|
866 </p><dl> |
|
867 <dt><i>autoContinue</i></dt> |
|
868 <dd> |
|
869 flag indicating, that the debugger should not |
|
870 stop at the first executable line (boolean) |
|
871 </dd> |
|
872 </dl><a NAME="DebugUI.setEnvHistory" ID="DebugUI.setEnvHistory"></a> |
|
873 <h4>DebugUI.setEnvHistory</h4> |
|
874 <b>setEnvHistory</b>(<i>envStr, clearHistories=False, history=None</i>) |
|
875 <p> |
|
876 Public slot to initialize the env history. |
|
877 </p><dl> |
|
878 <dt><i>envStr</i></dt> |
|
879 <dd> |
|
880 the environment settings (string) |
|
881 </dd><dt><i>clearHistories</i></dt> |
|
882 <dd> |
|
883 flag indicating, that the list should |
|
884 be cleared (boolean) |
|
885 </dd><dt><i>history</i></dt> |
|
886 <dd> |
|
887 list of history entries to be set (list of strings) |
|
888 </dd> |
|
889 </dl><a NAME="DebugUI.setExcIgnoreList" ID="DebugUI.setExcIgnoreList"></a> |
|
890 <h4>DebugUI.setExcIgnoreList</h4> |
|
891 <b>setExcIgnoreList</b>(<i>excIgnoreList</i>) |
|
892 <p> |
|
893 Public slot to initialize the ignored exceptions type list. |
|
894 </p><dl> |
|
895 <dt><i>excIgnoreList</i></dt> |
|
896 <dd> |
|
897 list of ignored exception types (list of strings) |
|
898 </dd> |
|
899 </dl><a NAME="DebugUI.setExcList" ID="DebugUI.setExcList"></a> |
|
900 <h4>DebugUI.setExcList</h4> |
|
901 <b>setExcList</b>(<i>excList</i>) |
|
902 <p> |
|
903 Public slot to initialize the exceptions type list. |
|
904 </p><dl> |
|
905 <dt><i>excList</i></dt> |
|
906 <dd> |
|
907 list of exception types (list of strings) |
|
908 </dd> |
|
909 </dl><a NAME="DebugUI.setExceptionReporting" ID="DebugUI.setExceptionReporting"></a> |
|
910 <h4>DebugUI.setExceptionReporting</h4> |
|
911 <b>setExceptionReporting</b>(<i>exceptions</i>) |
|
912 <p> |
|
913 Public slot to initialize the exception reporting flag. |
|
914 </p><dl> |
|
915 <dt><i>exceptions</i></dt> |
|
916 <dd> |
|
917 flag indicating exception reporting status (boolean) |
|
918 </dd> |
|
919 </dl><a NAME="DebugUI.setTracePython" ID="DebugUI.setTracePython"></a> |
|
920 <h4>DebugUI.setTracePython</h4> |
|
921 <b>setTracePython</b>(<i>tracePython</i>) |
|
922 <p> |
|
923 Public slot to initialize the trace Python flag. |
|
924 </p><dl> |
|
925 <dt><i>tracePython</i></dt> |
|
926 <dd> |
|
927 flag indicating if the Python library should be |
|
928 traced as well (boolean) |
|
929 </dd> |
|
930 </dl><a NAME="DebugUI.setWdHistory" ID="DebugUI.setWdHistory"></a> |
|
931 <h4>DebugUI.setWdHistory</h4> |
|
932 <b>setWdHistory</b>(<i>wdStr, clearHistories=False, history=None</i>) |
|
933 <p> |
|
934 Public slot to initialize the wd history. |
|
935 </p><dl> |
|
936 <dt><i>wdStr</i></dt> |
|
937 <dd> |
|
938 the working directory (string) |
|
939 </dd><dt><i>clearHistories</i></dt> |
|
940 <dd> |
|
941 flag indicating, that the list should |
|
942 be cleared (boolean) |
|
943 </dd><dt><i>history</i></dt> |
|
944 <dd> |
|
945 list of history entries to be set (list of strings) |
|
946 </dd> |
|
947 </dl><a NAME="DebugUI.shutdown" ID="DebugUI.shutdown"></a> |
|
948 <h4>DebugUI.shutdown</h4> |
|
949 <b>shutdown</b>(<i></i>) |
|
950 <p> |
|
951 Public method to perform shutdown actions. |
|
952 </p><a NAME="DebugUI.shutdownServer" ID="DebugUI.shutdownServer"></a> |
|
953 <h4>DebugUI.shutdownServer</h4> |
|
954 <b>shutdownServer</b>(<i></i>) |
|
955 <p> |
|
956 Public method to shut down the debug server. |
|
957 </p><p> |
|
958 This is needed to cleanly close the sockets on Win OS. |
|
959 </p><dl> |
|
960 <dt>Returns:</dt> |
|
961 <dd> |
|
962 always true |
|
963 </dd> |
|
964 </dl><a NAME="DebugUI.variablesFilter" ID="DebugUI.variablesFilter"></a> |
|
965 <h4>DebugUI.variablesFilter</h4> |
|
966 <b>variablesFilter</b>(<i>scope</i>) |
|
967 <p> |
|
968 Public method to get the variables filter for a scope. |
|
969 </p><dl> |
|
970 <dt><i>scope</i></dt> |
|
971 <dd> |
|
972 flag indicating global (True) or local (False) scope |
|
973 </dd> |
|
974 </dl><dl> |
|
975 <dt>Returns:</dt> |
|
976 <dd> |
|
977 filters list (list of integers) |
|
978 </dd> |
|
979 </dl> |
|
980 <div align="right"><a href="#top">Up</a></div> |
|
981 <hr /> |
|
982 </body></html> |