Documentation/Source/eric6.Debugger.DebugUI.html

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

eric ide

mercurial