Documentation/Source/eric4.Debugger.DebugUI.html

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

eric ide

mercurial