src/eric7/Documentation/Source/eric7.Debugger.DebugUI.html

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8596
d64760b2da50
child 9295
d14096c04126
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Debugger.DebugUI</title>
4 <meta charset="UTF-8">
5 <link rel="stylesheet" href="styles.css">
6 </head>
7 <body>
8 <a NAME="top" ID="top"></a>
9 <h1>eric7.Debugger.DebugUI</h1>
10
11 <p>
12 Module implementing the debugger UI.
13 </p>
14 <h3>Global Attributes</h3>
15
16 <table>
17 <tr><td>None</td></tr>
18 </table>
19 <h3>Classes</h3>
20
21 <table>
22
23 <tr>
24 <td><a href="#DebugUI">DebugUI</a></td>
25 <td>Class implementing the debugger part of the UI.</td>
26 </tr>
27 </table>
28 <h3>Functions</h3>
29
30 <table>
31 <tr><td>None</td></tr>
32 </table>
33 <hr />
34 <hr />
35 <a NAME="DebugUI" ID="DebugUI"></a>
36 <h2>DebugUI</h2>
37
38 <p>
39 Class implementing the debugger part of the UI.
40 </p>
41 <h3>Signals</h3>
42 <dl>
43
44 <dt>appendStdout(msg)</dt>
45 <dd>
46 emitted when the client program has terminated
47 and the display of the termination dialog is suppressed
48 </dd>
49 <dt>clientStack(stack, debuggerId)</dt>
50 <dd>
51 emitted at breaking after a reported
52 exception
53 </dd>
54 <dt>compileForms()</dt>
55 <dd>
56 emitted if changed project forms should be compiled
57 </dd>
58 <dt>compileResources()</dt>
59 <dd>
60 emitted if changed project resources should be
61 compiled
62 </dd>
63 <dt>debuggingStarted(filename)</dt>
64 <dd>
65 emitted when a debugging session was
66 started
67 </dd>
68 <dt>exceptionInterrupt()</dt>
69 <dd>
70 emitted after the execution was interrupted
71 by an exception and acknowledged by the user
72 </dd>
73 <dt>executeMake()</dt>
74 <dd>
75 emitted if a project specific make run should be
76 performed
77 </dd>
78 <dt>resetUI(full)</dt>
79 <dd>
80 emitted to reset the UI partially or fully
81 </dd>
82 </dl>
83 <h3>Derived from</h3>
84 QObject
85 <h3>Class Attributes</h3>
86
87 <table>
88 <tr><td>None</td></tr>
89 </table>
90 <h3>Class Methods</h3>
91
92 <table>
93 <tr><td>None</td></tr>
94 </table>
95 <h3>Methods</h3>
96
97 <table>
98
99 <tr>
100 <td><a href="#DebugUI.__init__">DebugUI</a></td>
101 <td>Constructor</td>
102 </tr>
103 <tr>
104 <td><a href="#DebugUI.__breakpointSelected">__breakpointSelected</a></td>
105 <td>Private method to handle the breakpoint selected signal.</td>
106 </tr>
107 <tr>
108 <td><a href="#DebugUI.__checkActions">__checkActions</a></td>
109 <td>Private slot to check some actions for their enable/disable status.</td>
110 </tr>
111 <tr>
112 <td><a href="#DebugUI.__clearBreakpoints">__clearBreakpoints</a></td>
113 <td>Private slot to handle the 'Clear breakpoints' action.</td>
114 </tr>
115 <tr>
116 <td><a href="#DebugUI.__clientBreakConditionError">__clientBreakConditionError</a></td>
117 <td>Private method to handle a condition error of a breakpoint.</td>
118 </tr>
119 <tr>
120 <td><a href="#DebugUI.__clientDebuggerId">__clientDebuggerId</a></td>
121 <td>Private slot to track the list of connected debuggers.</td>
122 </tr>
123 <tr>
124 <td><a href="#DebugUI.__clientDisconnected">__clientDisconnected</a></td>
125 <td>Private slot to handle a debug client disconnecting its control socket.</td>
126 </tr>
127 <tr>
128 <td><a href="#DebugUI.__clientException">__clientException</a></td>
129 <td>Private method to handle an exception of the debugged program.</td>
130 </tr>
131 <tr>
132 <td><a href="#DebugUI.__clientExit">__clientExit</a></td>
133 <td>Private slot to handle the debugged program terminating.</td>
134 </tr>
135 <tr>
136 <td><a href="#DebugUI.__clientGone">__clientGone</a></td>
137 <td>Private method to handle the disconnection of the debugger client.</td>
138 </tr>
139 <tr>
140 <td><a href="#DebugUI.__clientLine">__clientLine</a></td>
141 <td>Private method to handle a change to the current line.</td>
142 </tr>
143 <tr>
144 <td><a href="#DebugUI.__clientSignal">__clientSignal</a></td>
145 <td>Private method to handle a signal generated on the client side.</td>
146 </tr>
147 <tr>
148 <td><a href="#DebugUI.__clientSyntaxError">__clientSyntaxError</a></td>
149 <td>Private method to handle a syntax error in the debugged program.</td>
150 </tr>
151 <tr>
152 <td><a href="#DebugUI.__clientThreadSet">__clientThreadSet</a></td>
153 <td>Private method to handle a change of the client's current thread.</td>
154 </tr>
155 <tr>
156 <td><a href="#DebugUI.__clientVariable">__clientVariable</a></td>
157 <td>Private method to write the contents of a clients classvariable to the user interface.</td>
158 </tr>
159 <tr>
160 <td><a href="#DebugUI.__clientVariables">__clientVariables</a></td>
161 <td>Private method to write the clients variables to the user interface.</td>
162 </tr>
163 <tr>
164 <td><a href="#DebugUI.__clientWatchConditionError">__clientWatchConditionError</a></td>
165 <td>Private method to handle a expression error of a watch expression.</td>
166 </tr>
167 <tr>
168 <td><a href="#DebugUI.__compileChangedProjectFiles">__compileChangedProjectFiles</a></td>
169 <td>Private method to signal compilation of changed forms and resources is wanted.</td>
170 </tr>
171 <tr>
172 <td><a href="#DebugUI.__configureExceptionsFilter">__configureExceptionsFilter</a></td>
173 <td>Private slot for displaying the exception filter dialog.</td>
174 </tr>
175 <tr>
176 <td><a href="#DebugUI.__configureIgnoredExceptions">__configureIgnoredExceptions</a></td>
177 <td>Private slot for displaying the ignored exceptions dialog.</td>
178 </tr>
179 <tr>
180 <td><a href="#DebugUI.__configureVariablesFilters">__configureVariablesFilters</a></td>
181 <td>Private slot for displaying the variables filter configuration dialog.</td>
182 </tr>
183 <tr>
184 <td><a href="#DebugUI.__continue">__continue</a></td>
185 <td>Private method to handle the Continue action.</td>
186 </tr>
187 <tr>
188 <td><a href="#DebugUI.__coverageProject">__coverageProject</a></td>
189 <td>Private slot to handle the coverage of project action.</td>
190 </tr>
191 <tr>
192 <td><a href="#DebugUI.__coverageScript">__coverageScript</a></td>
193 <td>Private slot to handle the coverage of script action.</td>
194 </tr>
195 <tr>
196 <td><a href="#DebugUI.__cursorChanged">__cursorChanged</a></td>
197 <td>Private slot handling the cursorChanged signal of the viewmanager.</td>
198 </tr>
199 <tr>
200 <td><a href="#DebugUI.__debugProject">__debugProject</a></td>
201 <td>Private slot to handle the debug project action.</td>
202 </tr>
203 <tr>
204 <td><a href="#DebugUI.__debugScript">__debugScript</a></td>
205 <td>Private slot to handle the debug script action.</td>
206 </tr>
207 <tr>
208 <td><a href="#DebugUI.__doRestart">__doRestart</a></td>
209 <td>Private slot to handle the restart action to restart the last debugged file.</td>
210 </tr>
211 <tr>
212 <td><a href="#DebugUI.__editBreakpoint">__editBreakpoint</a></td>
213 <td>Private slot to handle the 'Edit breakpoint' action.</td>
214 </tr>
215 <tr>
216 <td><a href="#DebugUI.__editorOpened">__editorOpened</a></td>
217 <td>Private slot to handle the editorOpened signal.</td>
218 </tr>
219 <tr>
220 <td><a href="#DebugUI.__enterRemote">__enterRemote</a></td>
221 <td>Private method to update the user interface.</td>
222 </tr>
223 <tr>
224 <td><a href="#DebugUI.__getClientDisassembly">__getClientDisassembly</a></td>
225 <td>Private method to ask the client for the latest traceback disassembly.</td>
226 </tr>
227 <tr>
228 <td><a href="#DebugUI.__getClientVariables">__getClientVariables</a></td>
229 <td>Private method to request the global and local variables.</td>
230 </tr>
231 <tr>
232 <td><a href="#DebugUI.__getThreadList">__getThreadList</a></td>
233 <td>Private method to get the list of threads from the client.</td>
234 </tr>
235 <tr>
236 <td><a href="#DebugUI.__lastClientExited">__lastClientExited</a></td>
237 <td>Private slot handling the exit of the last client.</td>
238 </tr>
239 <tr>
240 <td><a href="#DebugUI.__lastEditorClosed">__lastEditorClosed</a></td>
241 <td>Private slot to handle the closeProgram signal.</td>
242 </tr>
243 <tr>
244 <td><a href="#DebugUI.__moveInstructionPointer">__moveInstructionPointer</a></td>
245 <td>Private method to move the instruction pointer to a different line.</td>
246 </tr>
247 <tr>
248 <td><a href="#DebugUI.__nextBreakpoint">__nextBreakpoint</a></td>
249 <td>Private slot to handle the 'Next breakpoint' action.</td>
250 </tr>
251 <tr>
252 <td><a href="#DebugUI.__passiveDebugStarted">__passiveDebugStarted</a></td>
253 <td>Private slot to handle a passive debug session start.</td>
254 </tr>
255 <tr>
256 <td><a href="#DebugUI.__previousBreakpoint">__previousBreakpoint</a></td>
257 <td>Private slot to handle the 'Previous breakpoint' action.</td>
258 </tr>
259 <tr>
260 <td><a href="#DebugUI.__profileProject">__profileProject</a></td>
261 <td>Private slot to handle the profile project action.</td>
262 </tr>
263 <tr>
264 <td><a href="#DebugUI.__profileScript">__profileScript</a></td>
265 <td>Private slot to handle the profile script action.</td>
266 </tr>
267 <tr>
268 <td><a href="#DebugUI.__projectClosed">__projectClosed</a></td>
269 <td>Private slot to handle the projectClosed signal.</td>
270 </tr>
271 <tr>
272 <td><a href="#DebugUI.__projectOpened">__projectOpened</a></td>
273 <td>Private slot to handle the projectOpened signal.</td>
274 </tr>
275 <tr>
276 <td><a href="#DebugUI.__resetUI">__resetUI</a></td>
277 <td>Private slot to reset the user interface.</td>
278 </tr>
279 <tr>
280 <td><a href="#DebugUI.__runProject">__runProject</a></td>
281 <td>Private slot to handle the run project action.</td>
282 </tr>
283 <tr>
284 <td><a href="#DebugUI.__runScript">__runScript</a></td>
285 <td>Private slot to handle the run script action.</td>
286 </tr>
287 <tr>
288 <td><a href="#DebugUI.__runToCursor">__runToCursor</a></td>
289 <td>Private method to handle the Run to Cursor action.</td>
290 </tr>
291 <tr>
292 <td><a href="#DebugUI.__runUntil">__runUntil</a></td>
293 <td>Private method to handle the Run Until action.</td>
294 </tr>
295 <tr>
296 <td><a href="#DebugUI.__showBreakpointsMenu">__showBreakpointsMenu</a></td>
297 <td>Private method to handle the show breakpoints menu signal.</td>
298 </tr>
299 <tr>
300 <td><a href="#DebugUI.__showDebugMenu">__showDebugMenu</a></td>
301 <td>Private method to set up the debug menu.</td>
302 </tr>
303 <tr>
304 <td><a href="#DebugUI.__specialContinue">__specialContinue</a></td>
305 <td>Private method to handle the Special Continue action.</td>
306 </tr>
307 <tr>
308 <td><a href="#DebugUI.__step">__step</a></td>
309 <td>Private method to handle the Step action.</td>
310 </tr>
311 <tr>
312 <td><a href="#DebugUI.__stepOut">__stepOut</a></td>
313 <td>Private method to handle the Step Out action.</td>
314 </tr>
315 <tr>
316 <td><a href="#DebugUI.__stepOver">__stepOver</a></td>
317 <td>Private method to handle the Step Over action.</td>
318 </tr>
319 <tr>
320 <td><a href="#DebugUI.__stepQuit">__stepQuit</a></td>
321 <td>Private method to handle the Step Quit action.</td>
322 </tr>
323 <tr>
324 <td><a href="#DebugUI.__stopScript">__stopScript</a></td>
325 <td>Private slot to stop the running script.</td>
326 </tr>
327 <tr>
328 <td><a href="#DebugUI.__toggleBreakpoint">__toggleBreakpoint</a></td>
329 <td>Private slot to handle the 'Set/Reset breakpoint' action.</td>
330 </tr>
331 <tr>
332 <td><a href="#DebugUI.clearHistories">clearHistories</a></td>
333 <td>Public method to clear the various debug histories.</td>
334 </tr>
335 <tr>
336 <td><a href="#DebugUI.doCoverage">doCoverage</a></td>
337 <td>Public method to handle the coverage actions.</td>
338 </tr>
339 <tr>
340 <td><a href="#DebugUI.doDebug">doDebug</a></td>
341 <td>Public method to handle the debug actions.</td>
342 </tr>
343 <tr>
344 <td><a href="#DebugUI.doProfile">doProfile</a></td>
345 <td>Public method to handle the profile actions.</td>
346 </tr>
347 <tr>
348 <td><a href="#DebugUI.doRun">doRun</a></td>
349 <td>Public method to handle the run actions.</td>
350 </tr>
351 <tr>
352 <td><a href="#DebugUI.getActions">getActions</a></td>
353 <td>Public method to get a list of all actions.</td>
354 </tr>
355 <tr>
356 <td><a href="#DebugUI.getSelectedDebuggerId">getSelectedDebuggerId</a></td>
357 <td>Public method to get the currently selected debugger ID.</td>
358 </tr>
359 <tr>
360 <td><a href="#DebugUI.initActions">initActions</a></td>
361 <td>Public method defining the user interface actions.</td>
362 </tr>
363 <tr>
364 <td><a href="#DebugUI.initMenus">initMenus</a></td>
365 <td>Public slot to initialize the project menu.</td>
366 </tr>
367 <tr>
368 <td><a href="#DebugUI.initToolbars">initToolbars</a></td>
369 <td>Public slot to initialize the debug toolbars.</td>
370 </tr>
371 <tr>
372 <td><a href="#DebugUI.setArgvHistory">setArgvHistory</a></td>
373 <td>Public slot to initialize the argv history.</td>
374 </tr>
375 <tr>
376 <td><a href="#DebugUI.setAutoClearShell">setAutoClearShell</a></td>
377 <td>Public slot to initialize the autoClearShell flag.</td>
378 </tr>
379 <tr>
380 <td><a href="#DebugUI.setAutoContinue">setAutoContinue</a></td>
381 <td>Public slot to initialize the autoContinue flag.</td>
382 </tr>
383 <tr>
384 <td><a href="#DebugUI.setDebugActionsEnabled">setDebugActionsEnabled</a></td>
385 <td>Public method to set the enabled state of the debug actions.</td>
386 </tr>
387 <tr>
388 <td><a href="#DebugUI.setEnableGlobalConfigOverride">setEnableGlobalConfigOverride</a></td>
389 <td>Public method to initialize the global config override data.</td>
390 </tr>
391 <tr>
392 <td><a href="#DebugUI.setEnableMultiprocess">setEnableMultiprocess</a></td>
393 <td>Public slot to initialize the enableMultiprocess flag.</td>
394 </tr>
395 <tr>
396 <td><a href="#DebugUI.setEnvHistory">setEnvHistory</a></td>
397 <td>Public slot to initialize the env history.</td>
398 </tr>
399 <tr>
400 <td><a href="#DebugUI.setExcIgnoreList">setExcIgnoreList</a></td>
401 <td>Public slot to initialize the ignored exceptions type list.</td>
402 </tr>
403 <tr>
404 <td><a href="#DebugUI.setExcList">setExcList</a></td>
405 <td>Public slot to initialize the exceptions type list.</td>
406 </tr>
407 <tr>
408 <td><a href="#DebugUI.setExceptionReporting">setExceptionReporting</a></td>
409 <td>Public slot to initialize the exception reporting flag.</td>
410 </tr>
411 <tr>
412 <td><a href="#DebugUI.setMultiprocessNoDebugHistory">setMultiprocessNoDebugHistory</a></td>
413 <td>Public slot to initialize the no debug list history.</td>
414 </tr>
415 <tr>
416 <td><a href="#DebugUI.setScriptsHistory">setScriptsHistory</a></td>
417 <td>Public slot to initialize the scripts history.</td>
418 </tr>
419 <tr>
420 <td><a href="#DebugUI.setTracePython">setTracePython</a></td>
421 <td>Public slot to initialize the trace Python flag.</td>
422 </tr>
423 <tr>
424 <td><a href="#DebugUI.setWdHistory">setWdHistory</a></td>
425 <td>Public slot to initialize the wd history.</td>
426 </tr>
427 <tr>
428 <td><a href="#DebugUI.showNotification">showNotification</a></td>
429 <td>Public method to show some notification message.</td>
430 </tr>
431 <tr>
432 <td><a href="#DebugUI.shutdown">shutdown</a></td>
433 <td>Public method to perform shutdown actions.</td>
434 </tr>
435 <tr>
436 <td><a href="#DebugUI.shutdownServer">shutdownServer</a></td>
437 <td>Public method to shut down the debug server.</td>
438 </tr>
439 <tr>
440 <td><a href="#DebugUI.variablesFilter">variablesFilter</a></td>
441 <td>Public method to get the variables filter for a scope.</td>
442 </tr>
443 </table>
444 <h3>Static Methods</h3>
445
446 <table>
447 <tr><td>None</td></tr>
448 </table>
449
450 <a NAME="DebugUI.__init__" ID="DebugUI.__init__"></a>
451 <h4>DebugUI (Constructor)</h4>
452 <b>DebugUI</b>(<i>ui, vm, debugServer, debugViewer, project</i>)
453
454 <p>
455 Constructor
456 </p>
457 <dl>
458
459 <dt><i>ui</i></dt>
460 <dd>
461 reference to the main UI
462 </dd>
463 <dt><i>vm</i></dt>
464 <dd>
465 reference to the viewmanager
466 </dd>
467 <dt><i>debugServer</i></dt>
468 <dd>
469 reference to the debug server
470 </dd>
471 <dt><i>debugViewer</i></dt>
472 <dd>
473 reference to the debug viewer widget
474 </dd>
475 <dt><i>project</i></dt>
476 <dd>
477 reference to the project object
478 </dd>
479 </dl>
480 <a NAME="DebugUI.__breakpointSelected" ID="DebugUI.__breakpointSelected"></a>
481 <h4>DebugUI.__breakpointSelected</h4>
482 <b>__breakpointSelected</b>(<i>act</i>)
483
484 <p>
485 Private method to handle the breakpoint selected signal.
486 </p>
487 <dl>
488
489 <dt><i>act</i></dt>
490 <dd>
491 reference to the action that triggered (QAction)
492 </dd>
493 </dl>
494 <a NAME="DebugUI.__checkActions" ID="DebugUI.__checkActions"></a>
495 <h4>DebugUI.__checkActions</h4>
496 <b>__checkActions</b>(<i>editor</i>)
497
498 <p>
499 Private slot to check some actions for their enable/disable status.
500 </p>
501 <dl>
502
503 <dt><i>editor</i></dt>
504 <dd>
505 editor window
506 </dd>
507 </dl>
508 <a NAME="DebugUI.__clearBreakpoints" ID="DebugUI.__clearBreakpoints"></a>
509 <h4>DebugUI.__clearBreakpoints</h4>
510 <b>__clearBreakpoints</b>(<i></i>)
511
512 <p>
513 Private slot to handle the 'Clear breakpoints' action.
514 </p>
515 <a NAME="DebugUI.__clientBreakConditionError" ID="DebugUI.__clientBreakConditionError"></a>
516 <h4>DebugUI.__clientBreakConditionError</h4>
517 <b>__clientBreakConditionError</b>(<i>filename, lineno, debuggerId</i>)
518
519 <p>
520 Private method to handle a condition error of a breakpoint.
521 </p>
522 <dl>
523
524 <dt><i>filename</i> (str)</dt>
525 <dd>
526 filename of the breakpoint
527 </dd>
528 <dt><i>lineno</i> (int)</dt>
529 <dd>
530 line umber of the breakpoint
531 </dd>
532 <dt><i>debuggerId</i> (str)</dt>
533 <dd>
534 ID of the debugger backend
535 </dd>
536 </dl>
537 <a NAME="DebugUI.__clientDebuggerId" ID="DebugUI.__clientDebuggerId"></a>
538 <h4>DebugUI.__clientDebuggerId</h4>
539 <b>__clientDebuggerId</b>(<i>debuggerId</i>)
540
541 <p>
542 Private slot to track the list of connected debuggers.
543 </p>
544 <dl>
545
546 <dt><i>debuggerId</i> (str)</dt>
547 <dd>
548 ID of the debugger backend
549 </dd>
550 </dl>
551 <a NAME="DebugUI.__clientDisconnected" ID="DebugUI.__clientDisconnected"></a>
552 <h4>DebugUI.__clientDisconnected</h4>
553 <b>__clientDisconnected</b>(<i>debuggerId</i>)
554
555 <p>
556 Private slot to handle a debug client disconnecting its control
557 socket.
558 </p>
559 <dl>
560
561 <dt><i>debuggerId</i> (str)</dt>
562 <dd>
563 ID of the debugger backend
564 </dd>
565 </dl>
566 <a NAME="DebugUI.__clientException" ID="DebugUI.__clientException"></a>
567 <h4>DebugUI.__clientException</h4>
568 <b>__clientException</b>(<i>exceptionType, exceptionMessage, stackTrace, debuggerId</i>)
569
570 <p>
571 Private method to handle an exception of the debugged program.
572 </p>
573 <dl>
574
575 <dt><i>exceptionType</i> (str)</dt>
576 <dd>
577 type of exception raised
578 </dd>
579 <dt><i>exceptionMessage</i> ((str)</dt>
580 <dd>
581 message given by the exception
582 </dd>
583 <dt><i>stackTrace</i> (list of str)</dt>
584 <dd>
585 list of stack entries
586 </dd>
587 <dt><i>debuggerId</i> (str)</dt>
588 <dd>
589 ID of the debugger backend
590 </dd>
591 </dl>
592 <a NAME="DebugUI.__clientExit" ID="DebugUI.__clientExit"></a>
593 <h4>DebugUI.__clientExit</h4>
594 <b>__clientExit</b>(<i>program, status, message, quiet, debuggerId</i>)
595
596 <p>
597 Private slot to handle the debugged program terminating.
598 </p>
599 <dl>
600
601 <dt><i>program</i> (str)</dt>
602 <dd>
603 name of the exited program
604 </dd>
605 <dt><i>status</i> (int)</dt>
606 <dd>
607 exit code of the debugged program
608 </dd>
609 <dt><i>message</i> (str)</dt>
610 <dd>
611 exit message of the debugged program
612 </dd>
613 <dt><i>quiet</i> (bool)</dt>
614 <dd>
615 flag indicating to suppress exit info display
616 </dd>
617 <dt><i>debuggerId</i> (str)</dt>
618 <dd>
619 ID of the debugger backend
620 </dd>
621 </dl>
622 <a NAME="DebugUI.__clientGone" ID="DebugUI.__clientGone"></a>
623 <h4>DebugUI.__clientGone</h4>
624 <b>__clientGone</b>(<i>unplanned</i>)
625
626 <p>
627 Private method to handle the disconnection of the debugger client.
628 </p>
629 <dl>
630
631 <dt><i>unplanned</i></dt>
632 <dd>
633 True if the client died, False otherwise
634 </dd>
635 </dl>
636 <a NAME="DebugUI.__clientLine" ID="DebugUI.__clientLine"></a>
637 <h4>DebugUI.__clientLine</h4>
638 <b>__clientLine</b>(<i>fn, line, debuggerId, threadName, forStack</i>)
639
640 <p>
641 Private method to handle a change to the current line.
642 </p>
643 <dl>
644
645 <dt><i>fn</i> (str)</dt>
646 <dd>
647 filename
648 </dd>
649 <dt><i>line</i> (int)</dt>
650 <dd>
651 linenumber
652 </dd>
653 <dt><i>debuggerId</i> (str)</dt>
654 <dd>
655 ID of the debugger backend
656 </dd>
657 <dt><i>threadName</i> (str)</dt>
658 <dd>
659 name of the thread signaling the event
660 </dd>
661 <dt><i>forStack</i> (bool)</dt>
662 <dd>
663 flag indicating this is for a stack dump
664 </dd>
665 </dl>
666 <a NAME="DebugUI.__clientSignal" ID="DebugUI.__clientSignal"></a>
667 <h4>DebugUI.__clientSignal</h4>
668 <b>__clientSignal</b>(<i>message, filename, lineNo, funcName, funcArgs, debuggerId</i>)
669
670 <p>
671 Private method to handle a signal generated on the client side.
672 </p>
673 <dl>
674
675 <dt><i>message</i> (str)</dt>
676 <dd>
677 message of the syntax error
678 </dd>
679 <dt><i>filename</i> (str)</dt>
680 <dd>
681 translated filename of the syntax error position
682 </dd>
683 <dt><i>lineNo</i> (int)</dt>
684 <dd>
685 line number of the syntax error position
686 </dd>
687 <dt><i>funcName</i> (str)</dt>
688 <dd>
689 name of the function causing the signal
690 </dd>
691 <dt><i>funcArgs</i> (str)</dt>
692 <dd>
693 function arguments
694 </dd>
695 <dt><i>debuggerId</i> (str)</dt>
696 <dd>
697 ID of the debugger backend
698 </dd>
699 </dl>
700 <a NAME="DebugUI.__clientSyntaxError" ID="DebugUI.__clientSyntaxError"></a>
701 <h4>DebugUI.__clientSyntaxError</h4>
702 <b>__clientSyntaxError</b>(<i>message, filename, lineNo, characterNo</i>)
703
704 <p>
705 Private method to handle a syntax error in the debugged program.
706 </p>
707 <dl>
708
709 <dt><i>message</i></dt>
710 <dd>
711 message of the syntax error (string)
712 </dd>
713 <dt><i>filename</i></dt>
714 <dd>
715 translated filename of the syntax error position
716 (string)
717 </dd>
718 <dt><i>lineNo</i></dt>
719 <dd>
720 line number of the syntax error position (integer)
721 </dd>
722 <dt><i>characterNo</i></dt>
723 <dd>
724 character number of the syntax error position
725 (integer)
726 </dd>
727 </dl>
728 <a NAME="DebugUI.__clientThreadSet" ID="DebugUI.__clientThreadSet"></a>
729 <h4>DebugUI.__clientThreadSet</h4>
730 <b>__clientThreadSet</b>(<i>debuggerId</i>)
731
732 <p>
733 Private method to handle a change of the client's current thread.
734 </p>
735 <dl>
736
737 <dt><i>debuggerId</i> (str)</dt>
738 <dd>
739 ID of the debugger backend
740 </dd>
741 </dl>
742 <a NAME="DebugUI.__clientVariable" ID="DebugUI.__clientVariable"></a>
743 <h4>DebugUI.__clientVariable</h4>
744 <b>__clientVariable</b>(<i>scope, variables, debuggerId</i>)
745
746 <p>
747 Private method to write the contents of a clients classvariable to
748 the user interface.
749 </p>
750 <dl>
751
752 <dt><i>scope</i> (int)</dt>
753 <dd>
754 scope of the variables (-1 = empty locals, 1 = global,
755 0 = local)
756 </dd>
757 <dt><i>variables</i> (list)</dt>
758 <dd>
759 the list of variables from the client
760 </dd>
761 <dt><i>debuggerId</i> (str)</dt>
762 <dd>
763 ID of the debugger backend
764 </dd>
765 </dl>
766 <a NAME="DebugUI.__clientVariables" ID="DebugUI.__clientVariables"></a>
767 <h4>DebugUI.__clientVariables</h4>
768 <b>__clientVariables</b>(<i>scope, variables, debuggerId</i>)
769
770 <p>
771 Private method to write the clients variables to the user interface.
772 </p>
773 <dl>
774
775 <dt><i>scope</i> (int)</dt>
776 <dd>
777 scope of the variables
778 (-2 = no frame found, -1 = empty locals, 1 = global, 0 = local)
779 </dd>
780 <dt><i>variables</i> (list)</dt>
781 <dd>
782 the list of variables from the client
783 </dd>
784 <dt><i>debuggerId</i> (str)</dt>
785 <dd>
786 ID of the debugger backend
787 </dd>
788 </dl>
789 <a NAME="DebugUI.__clientWatchConditionError" ID="DebugUI.__clientWatchConditionError"></a>
790 <h4>DebugUI.__clientWatchConditionError</h4>
791 <b>__clientWatchConditionError</b>(<i>cond, debuggerId</i>)
792
793 <p>
794 Private method to handle a expression error of a watch expression.
795 </p>
796 <p>
797 Note: This can only happen for normal watch expressions
798 </p>
799 <dl>
800
801 <dt><i>cond</i> (str)</dt>
802 <dd>
803 expression of the watch expression
804 </dd>
805 <dt><i>debuggerId</i> (str)</dt>
806 <dd>
807 ID of the debugger backend
808 </dd>
809 </dl>
810 <a NAME="DebugUI.__compileChangedProjectFiles" ID="DebugUI.__compileChangedProjectFiles"></a>
811 <h4>DebugUI.__compileChangedProjectFiles</h4>
812 <b>__compileChangedProjectFiles</b>(<i></i>)
813
814 <p>
815 Private method to signal compilation of changed forms and resources
816 is wanted.
817 </p>
818 <a NAME="DebugUI.__configureExceptionsFilter" ID="DebugUI.__configureExceptionsFilter"></a>
819 <h4>DebugUI.__configureExceptionsFilter</h4>
820 <b>__configureExceptionsFilter</b>(<i></i>)
821
822 <p>
823 Private slot for displaying the exception filter dialog.
824 </p>
825 <a NAME="DebugUI.__configureIgnoredExceptions" ID="DebugUI.__configureIgnoredExceptions"></a>
826 <h4>DebugUI.__configureIgnoredExceptions</h4>
827 <b>__configureIgnoredExceptions</b>(<i></i>)
828
829 <p>
830 Private slot for displaying the ignored exceptions dialog.
831 </p>
832 <a NAME="DebugUI.__configureVariablesFilters" ID="DebugUI.__configureVariablesFilters"></a>
833 <h4>DebugUI.__configureVariablesFilters</h4>
834 <b>__configureVariablesFilters</b>(<i></i>)
835
836 <p>
837 Private slot for displaying the variables filter configuration dialog.
838 </p>
839 <a NAME="DebugUI.__continue" ID="DebugUI.__continue"></a>
840 <h4>DebugUI.__continue</h4>
841 <b>__continue</b>(<i>debuggerId=""</i>)
842
843 <p>
844 Private method to handle the Continue action.
845 </p>
846 <dl>
847
848 <dt><i>debuggerId</i> (str)</dt>
849 <dd>
850 ID of the debugger backend
851 </dd>
852 </dl>
853 <a NAME="DebugUI.__coverageProject" ID="DebugUI.__coverageProject"></a>
854 <h4>DebugUI.__coverageProject</h4>
855 <b>__coverageProject</b>(<i></i>)
856
857 <p>
858 Private slot to handle the coverage of project action.
859 </p>
860 <a NAME="DebugUI.__coverageScript" ID="DebugUI.__coverageScript"></a>
861 <h4>DebugUI.__coverageScript</h4>
862 <b>__coverageScript</b>(<i></i>)
863
864 <p>
865 Private slot to handle the coverage of script action.
866 </p>
867 <a NAME="DebugUI.__cursorChanged" ID="DebugUI.__cursorChanged"></a>
868 <h4>DebugUI.__cursorChanged</h4>
869 <b>__cursorChanged</b>(<i>editor</i>)
870
871 <p>
872 Private slot handling the cursorChanged signal of the viewmanager.
873 </p>
874 <dl>
875
876 <dt><i>editor</i></dt>
877 <dd>
878 editor window
879 </dd>
880 </dl>
881 <a NAME="DebugUI.__debugProject" ID="DebugUI.__debugProject"></a>
882 <h4>DebugUI.__debugProject</h4>
883 <b>__debugProject</b>(<i></i>)
884
885 <p>
886 Private slot to handle the debug project action.
887 </p>
888 <a NAME="DebugUI.__debugScript" ID="DebugUI.__debugScript"></a>
889 <h4>DebugUI.__debugScript</h4>
890 <b>__debugScript</b>(<i></i>)
891
892 <p>
893 Private slot to handle the debug script action.
894 </p>
895 <a NAME="DebugUI.__doRestart" ID="DebugUI.__doRestart"></a>
896 <h4>DebugUI.__doRestart</h4>
897 <b>__doRestart</b>(<i></i>)
898
899 <p>
900 Private slot to handle the restart action to restart the last
901 debugged file.
902 </p>
903 <a NAME="DebugUI.__editBreakpoint" ID="DebugUI.__editBreakpoint"></a>
904 <h4>DebugUI.__editBreakpoint</h4>
905 <b>__editBreakpoint</b>(<i></i>)
906
907 <p>
908 Private slot to handle the 'Edit breakpoint' action.
909 </p>
910 <a NAME="DebugUI.__editorOpened" ID="DebugUI.__editorOpened"></a>
911 <h4>DebugUI.__editorOpened</h4>
912 <b>__editorOpened</b>(<i>fn</i>)
913
914 <p>
915 Private slot to handle the editorOpened signal.
916 </p>
917 <dl>
918
919 <dt><i>fn</i></dt>
920 <dd>
921 filename of the opened editor
922 </dd>
923 </dl>
924 <a NAME="DebugUI.__enterRemote" ID="DebugUI.__enterRemote"></a>
925 <h4>DebugUI.__enterRemote</h4>
926 <b>__enterRemote</b>(<i></i>)
927
928 <p>
929 Private method to update the user interface.
930 </p>
931 <p>
932 This method is called just prior to executing some of
933 the program being debugged.
934 </p>
935 <a NAME="DebugUI.__getClientDisassembly" ID="DebugUI.__getClientDisassembly"></a>
936 <h4>DebugUI.__getClientDisassembly</h4>
937 <b>__getClientDisassembly</b>(<i>debuggerId</i>)
938
939 <p>
940 Private method to ask the client for the latest traceback disassembly.
941 </p>
942 <dl>
943
944 <dt><i>debuggerId</i> (str)</dt>
945 <dd>
946 ID of the debugger backend
947 </dd>
948 </dl>
949 <a NAME="DebugUI.__getClientVariables" ID="DebugUI.__getClientVariables"></a>
950 <h4>DebugUI.__getClientVariables</h4>
951 <b>__getClientVariables</b>(<i>debuggerId</i>)
952
953 <p>
954 Private method to request the global and local variables.
955 </p>
956 <p>
957 In the first step, the global variables are requested from the client.
958 Once these have been received, the local variables are requested.
959 This happens in the method '__clientVariables'.
960 </p>
961 <dl>
962
963 <dt><i>debuggerId</i> (str)</dt>
964 <dd>
965 ID of the debugger backend
966 </dd>
967 </dl>
968 <a NAME="DebugUI.__getThreadList" ID="DebugUI.__getThreadList"></a>
969 <h4>DebugUI.__getThreadList</h4>
970 <b>__getThreadList</b>(<i>debuggerId</i>)
971
972 <p>
973 Private method to get the list of threads from the client.
974 </p>
975 <dl>
976
977 <dt><i>debuggerId</i> (str)</dt>
978 <dd>
979 ID of the debugger backend
980 </dd>
981 </dl>
982 <a NAME="DebugUI.__lastClientExited" ID="DebugUI.__lastClientExited"></a>
983 <h4>DebugUI.__lastClientExited</h4>
984 <b>__lastClientExited</b>(<i></i>)
985
986 <p>
987 Private slot handling the exit of the last client.
988 </p>
989 <a NAME="DebugUI.__lastEditorClosed" ID="DebugUI.__lastEditorClosed"></a>
990 <h4>DebugUI.__lastEditorClosed</h4>
991 <b>__lastEditorClosed</b>(<i></i>)
992
993 <p>
994 Private slot to handle the closeProgram signal.
995 </p>
996 <a NAME="DebugUI.__moveInstructionPointer" ID="DebugUI.__moveInstructionPointer"></a>
997 <h4>DebugUI.__moveInstructionPointer</h4>
998 <b>__moveInstructionPointer</b>(<i>debuggerId=""</i>)
999
1000 <p>
1001 Private method to move the instruction pointer to a different line.
1002 </p>
1003 <dl>
1004
1005 <dt><i>debuggerId</i> (str)</dt>
1006 <dd>
1007 ID of the debugger backend
1008 </dd>
1009 </dl>
1010 <a NAME="DebugUI.__nextBreakpoint" ID="DebugUI.__nextBreakpoint"></a>
1011 <h4>DebugUI.__nextBreakpoint</h4>
1012 <b>__nextBreakpoint</b>(<i></i>)
1013
1014 <p>
1015 Private slot to handle the 'Next breakpoint' action.
1016 </p>
1017 <a NAME="DebugUI.__passiveDebugStarted" ID="DebugUI.__passiveDebugStarted"></a>
1018 <h4>DebugUI.__passiveDebugStarted</h4>
1019 <b>__passiveDebugStarted</b>(<i>fn, exc</i>)
1020
1021 <p>
1022 Private slot to handle a passive debug session start.
1023 </p>
1024 <dl>
1025
1026 <dt><i>fn</i></dt>
1027 <dd>
1028 filename of the debugged script
1029 </dd>
1030 <dt><i>exc</i></dt>
1031 <dd>
1032 flag to enable exception reporting of the IDE (boolean)
1033 </dd>
1034 </dl>
1035 <a NAME="DebugUI.__previousBreakpoint" ID="DebugUI.__previousBreakpoint"></a>
1036 <h4>DebugUI.__previousBreakpoint</h4>
1037 <b>__previousBreakpoint</b>(<i></i>)
1038
1039 <p>
1040 Private slot to handle the 'Previous breakpoint' action.
1041 </p>
1042 <a NAME="DebugUI.__profileProject" ID="DebugUI.__profileProject"></a>
1043 <h4>DebugUI.__profileProject</h4>
1044 <b>__profileProject</b>(<i></i>)
1045
1046 <p>
1047 Private slot to handle the profile project action.
1048 </p>
1049 <a NAME="DebugUI.__profileScript" ID="DebugUI.__profileScript"></a>
1050 <h4>DebugUI.__profileScript</h4>
1051 <b>__profileScript</b>(<i></i>)
1052
1053 <p>
1054 Private slot to handle the profile script action.
1055 </p>
1056 <a NAME="DebugUI.__projectClosed" ID="DebugUI.__projectClosed"></a>
1057 <h4>DebugUI.__projectClosed</h4>
1058 <b>__projectClosed</b>(<i></i>)
1059
1060 <p>
1061 Private slot to handle the projectClosed signal.
1062 </p>
1063 <a NAME="DebugUI.__projectOpened" ID="DebugUI.__projectOpened"></a>
1064 <h4>DebugUI.__projectOpened</h4>
1065 <b>__projectOpened</b>(<i></i>)
1066
1067 <p>
1068 Private slot to handle the projectOpened signal.
1069 </p>
1070 <a NAME="DebugUI.__resetUI" ID="DebugUI.__resetUI"></a>
1071 <h4>DebugUI.__resetUI</h4>
1072 <b>__resetUI</b>(<i>fullReset=True</i>)
1073
1074 <p>
1075 Private slot to reset the user interface.
1076 </p>
1077 <dl>
1078
1079 <dt><i>fullReset</i> (bool)</dt>
1080 <dd>
1081 flag indicating a full reset is required
1082 </dd>
1083 </dl>
1084 <a NAME="DebugUI.__runProject" ID="DebugUI.__runProject"></a>
1085 <h4>DebugUI.__runProject</h4>
1086 <b>__runProject</b>(<i></i>)
1087
1088 <p>
1089 Private slot to handle the run project action.
1090 </p>
1091 <a NAME="DebugUI.__runScript" ID="DebugUI.__runScript"></a>
1092 <h4>DebugUI.__runScript</h4>
1093 <b>__runScript</b>(<i></i>)
1094
1095 <p>
1096 Private slot to handle the run script action.
1097 </p>
1098 <a NAME="DebugUI.__runToCursor" ID="DebugUI.__runToCursor"></a>
1099 <h4>DebugUI.__runToCursor</h4>
1100 <b>__runToCursor</b>(<i>debuggerId=""</i>)
1101
1102 <p>
1103 Private method to handle the Run to Cursor action.
1104 </p>
1105 <dl>
1106
1107 <dt><i>debuggerId</i> (str)</dt>
1108 <dd>
1109 ID of the debugger backend
1110 </dd>
1111 </dl>
1112 <a NAME="DebugUI.__runUntil" ID="DebugUI.__runUntil"></a>
1113 <h4>DebugUI.__runUntil</h4>
1114 <b>__runUntil</b>(<i>debuggerId=""</i>)
1115
1116 <p>
1117 Private method to handle the Run Until action.
1118 </p>
1119 <dl>
1120
1121 <dt><i>debuggerId</i> (str)</dt>
1122 <dd>
1123 ID of the debugger backend
1124 </dd>
1125 </dl>
1126 <a NAME="DebugUI.__showBreakpointsMenu" ID="DebugUI.__showBreakpointsMenu"></a>
1127 <h4>DebugUI.__showBreakpointsMenu</h4>
1128 <b>__showBreakpointsMenu</b>(<i></i>)
1129
1130 <p>
1131 Private method to handle the show breakpoints menu signal.
1132 </p>
1133 <a NAME="DebugUI.__showDebugMenu" ID="DebugUI.__showDebugMenu"></a>
1134 <h4>DebugUI.__showDebugMenu</h4>
1135 <b>__showDebugMenu</b>(<i></i>)
1136
1137 <p>
1138 Private method to set up the debug menu.
1139 </p>
1140 <a NAME="DebugUI.__specialContinue" ID="DebugUI.__specialContinue"></a>
1141 <h4>DebugUI.__specialContinue</h4>
1142 <b>__specialContinue</b>(<i>debuggerId=""</i>)
1143
1144 <p>
1145 Private method to handle the Special Continue action.
1146 </p>
1147 <dl>
1148
1149 <dt><i>debuggerId</i> (str)</dt>
1150 <dd>
1151 ID of the debugger backend
1152 </dd>
1153 </dl>
1154 <a NAME="DebugUI.__step" ID="DebugUI.__step"></a>
1155 <h4>DebugUI.__step</h4>
1156 <b>__step</b>(<i>debuggerId=""</i>)
1157
1158 <p>
1159 Private method to handle the Step action.
1160 </p>
1161 <dl>
1162
1163 <dt><i>debuggerId</i> (str)</dt>
1164 <dd>
1165 ID of the debugger backend
1166 </dd>
1167 </dl>
1168 <a NAME="DebugUI.__stepOut" ID="DebugUI.__stepOut"></a>
1169 <h4>DebugUI.__stepOut</h4>
1170 <b>__stepOut</b>(<i>debuggerId=""</i>)
1171
1172 <p>
1173 Private method to handle the Step Out action.
1174 </p>
1175 <dl>
1176
1177 <dt><i>debuggerId</i> (str)</dt>
1178 <dd>
1179 ID of the debugger backend
1180 </dd>
1181 </dl>
1182 <a NAME="DebugUI.__stepOver" ID="DebugUI.__stepOver"></a>
1183 <h4>DebugUI.__stepOver</h4>
1184 <b>__stepOver</b>(<i>debuggerId=""</i>)
1185
1186 <p>
1187 Private method to handle the Step Over action.
1188 </p>
1189 <dl>
1190
1191 <dt><i>debuggerId</i> (str)</dt>
1192 <dd>
1193 ID of the debugger backend
1194 </dd>
1195 </dl>
1196 <a NAME="DebugUI.__stepQuit" ID="DebugUI.__stepQuit"></a>
1197 <h4>DebugUI.__stepQuit</h4>
1198 <b>__stepQuit</b>(<i>debuggerId=""</i>)
1199
1200 <p>
1201 Private method to handle the Step Quit action.
1202 </p>
1203 <dl>
1204
1205 <dt><i>debuggerId</i> (str)</dt>
1206 <dd>
1207 ID of the debugger backend
1208 </dd>
1209 </dl>
1210 <a NAME="DebugUI.__stopScript" ID="DebugUI.__stopScript"></a>
1211 <h4>DebugUI.__stopScript</h4>
1212 <b>__stopScript</b>(<i></i>)
1213
1214 <p>
1215 Private slot to stop the running script.
1216 </p>
1217 <a NAME="DebugUI.__toggleBreakpoint" ID="DebugUI.__toggleBreakpoint"></a>
1218 <h4>DebugUI.__toggleBreakpoint</h4>
1219 <b>__toggleBreakpoint</b>(<i></i>)
1220
1221 <p>
1222 Private slot to handle the 'Set/Reset breakpoint' action.
1223 </p>
1224 <a NAME="DebugUI.clearHistories" ID="DebugUI.clearHistories"></a>
1225 <h4>DebugUI.clearHistories</h4>
1226 <b>clearHistories</b>(<i></i>)
1227
1228 <p>
1229 Public method to clear the various debug histories.
1230 </p>
1231 <a NAME="DebugUI.doCoverage" ID="DebugUI.doCoverage"></a>
1232 <h4>DebugUI.doCoverage</h4>
1233 <b>doCoverage</b>(<i>runProject, script=""</i>)
1234
1235 <p>
1236 Public method to handle the coverage actions.
1237 </p>
1238 <dl>
1239
1240 <dt><i>runProject</i> (bool)</dt>
1241 <dd>
1242 flag indicating coverage of the current project
1243 (True) or script (false)
1244 </dd>
1245 <dt><i>script</i> (str)</dt>
1246 <dd>
1247 name of a script (optional)
1248 </dd>
1249 </dl>
1250 <a NAME="DebugUI.doDebug" ID="DebugUI.doDebug"></a>
1251 <h4>DebugUI.doDebug</h4>
1252 <b>doDebug</b>(<i>debugProject, script=""</i>)
1253
1254 <p>
1255 Public method to handle the debug actions.
1256 </p>
1257 <dl>
1258
1259 <dt><i>debugProject</i> (bool)</dt>
1260 <dd>
1261 flag indicating debugging the current project
1262 (True) or script (False)
1263 </dd>
1264 <dt><i>script</i> (str)</dt>
1265 <dd>
1266 name of a script (optional)
1267 </dd>
1268 </dl>
1269 <a NAME="DebugUI.doProfile" ID="DebugUI.doProfile"></a>
1270 <h4>DebugUI.doProfile</h4>
1271 <b>doProfile</b>(<i>runProject, script=""</i>)
1272
1273 <p>
1274 Public method to handle the profile actions.
1275 </p>
1276 <dl>
1277
1278 <dt><i>runProject</i> (bool)</dt>
1279 <dd>
1280 flag indicating profiling of the current project
1281 (True) or script (False)
1282 </dd>
1283 <dt><i>script</i> (str)</dt>
1284 <dd>
1285 name of a script (optional)
1286 </dd>
1287 </dl>
1288 <a NAME="DebugUI.doRun" ID="DebugUI.doRun"></a>
1289 <h4>DebugUI.doRun</h4>
1290 <b>doRun</b>(<i>runProject, script=""</i>)
1291
1292 <p>
1293 Public method to handle the run actions.
1294 </p>
1295 <dl>
1296
1297 <dt><i>runProject</i> (bool)</dt>
1298 <dd>
1299 flag indicating running the current project (True)
1300 or script (False)
1301 </dd>
1302 <dt><i>script</i> (str)</dt>
1303 <dd>
1304 name of a script (optional)
1305 </dd>
1306 </dl>
1307 <a NAME="DebugUI.getActions" ID="DebugUI.getActions"></a>
1308 <h4>DebugUI.getActions</h4>
1309 <b>getActions</b>(<i></i>)
1310
1311 <p>
1312 Public method to get a list of all actions.
1313 </p>
1314 <dl>
1315 <dt>Return:</dt>
1316 <dd>
1317 list of all actions (list of EricAction)
1318 </dd>
1319 </dl>
1320 <a NAME="DebugUI.getSelectedDebuggerId" ID="DebugUI.getSelectedDebuggerId"></a>
1321 <h4>DebugUI.getSelectedDebuggerId</h4>
1322 <b>getSelectedDebuggerId</b>(<i></i>)
1323
1324 <p>
1325 Public method to get the currently selected debugger ID.
1326 </p>
1327 <dl>
1328 <dt>Return:</dt>
1329 <dd>
1330 selected debugger ID
1331 </dd>
1332 </dl>
1333 <dl>
1334 <dt>Return Type:</dt>
1335 <dd>
1336 str
1337 </dd>
1338 </dl>
1339 <a NAME="DebugUI.initActions" ID="DebugUI.initActions"></a>
1340 <h4>DebugUI.initActions</h4>
1341 <b>initActions</b>(<i></i>)
1342
1343 <p>
1344 Public method defining the user interface actions.
1345 </p>
1346 <a NAME="DebugUI.initMenus" ID="DebugUI.initMenus"></a>
1347 <h4>DebugUI.initMenus</h4>
1348 <b>initMenus</b>(<i></i>)
1349
1350 <p>
1351 Public slot to initialize the project menu.
1352 </p>
1353 <dl>
1354 <dt>Return:</dt>
1355 <dd>
1356 the generated menu
1357 </dd>
1358 </dl>
1359 <a NAME="DebugUI.initToolbars" ID="DebugUI.initToolbars"></a>
1360 <h4>DebugUI.initToolbars</h4>
1361 <b>initToolbars</b>(<i>toolbarManager</i>)
1362
1363 <p>
1364 Public slot to initialize the debug toolbars.
1365 </p>
1366 <dl>
1367
1368 <dt><i>toolbarManager</i></dt>
1369 <dd>
1370 reference to a toolbar manager object
1371 (EricToolBarManager)
1372 </dd>
1373 </dl>
1374 <dl>
1375 <dt>Return:</dt>
1376 <dd>
1377 the generated toolbars (list of QToolBar)
1378 </dd>
1379 </dl>
1380 <a NAME="DebugUI.setArgvHistory" ID="DebugUI.setArgvHistory"></a>
1381 <h4>DebugUI.setArgvHistory</h4>
1382 <b>setArgvHistory</b>(<i>argsStr, clearHistories=False, history=None</i>)
1383
1384 <p>
1385 Public slot to initialize the argv history.
1386 </p>
1387 <dl>
1388
1389 <dt><i>argsStr</i></dt>
1390 <dd>
1391 the commandline arguments (string)
1392 </dd>
1393 <dt><i>clearHistories</i></dt>
1394 <dd>
1395 flag indicating, that the list should
1396 be cleared (boolean)
1397 </dd>
1398 <dt><i>history</i></dt>
1399 <dd>
1400 list of history entries to be set (list of strings)
1401 </dd>
1402 </dl>
1403 <a NAME="DebugUI.setAutoClearShell" ID="DebugUI.setAutoClearShell"></a>
1404 <h4>DebugUI.setAutoClearShell</h4>
1405 <b>setAutoClearShell</b>(<i>autoClearShell</i>)
1406
1407 <p>
1408 Public slot to initialize the autoClearShell flag.
1409 </p>
1410 <dl>
1411
1412 <dt><i>autoClearShell</i></dt>
1413 <dd>
1414 flag indicating, that the interpreter window
1415 should be cleared (boolean)
1416 </dd>
1417 </dl>
1418 <a NAME="DebugUI.setAutoContinue" ID="DebugUI.setAutoContinue"></a>
1419 <h4>DebugUI.setAutoContinue</h4>
1420 <b>setAutoContinue</b>(<i>autoContinue</i>)
1421
1422 <p>
1423 Public slot to initialize the autoContinue flag.
1424 </p>
1425 <dl>
1426
1427 <dt><i>autoContinue</i></dt>
1428 <dd>
1429 flag indicating, that the debugger should not
1430 stop at the first executable line (boolean)
1431 </dd>
1432 </dl>
1433 <a NAME="DebugUI.setDebugActionsEnabled" ID="DebugUI.setDebugActionsEnabled"></a>
1434 <h4>DebugUI.setDebugActionsEnabled</h4>
1435 <b>setDebugActionsEnabled</b>(<i>enable</i>)
1436
1437 <p>
1438 Public method to set the enabled state of the debug actions.
1439 </p>
1440 <dl>
1441
1442 <dt><i>enable</i> (bool)</dt>
1443 <dd>
1444 enable state to be set
1445 </dd>
1446 </dl>
1447 <a NAME="DebugUI.setEnableGlobalConfigOverride" ID="DebugUI.setEnableGlobalConfigOverride"></a>
1448 <h4>DebugUI.setEnableGlobalConfigOverride</h4>
1449 <b>setEnableGlobalConfigOverride</b>(<i>overrideData</i>)
1450
1451 <p>
1452 Public method to initialize the global config override data.
1453 </p>
1454 <dl>
1455
1456 <dt><i>overrideData</i> (dict)</dt>
1457 <dd>
1458 dictionary containing a flag indicating to enable
1459 global config override and a flag indicating to redirect
1460 stdin/stdout/stderr
1461 </dd>
1462 </dl>
1463 <a NAME="DebugUI.setEnableMultiprocess" ID="DebugUI.setEnableMultiprocess"></a>
1464 <h4>DebugUI.setEnableMultiprocess</h4>
1465 <b>setEnableMultiprocess</b>(<i>enableMultiprocess</i>)
1466
1467 <p>
1468 Public slot to initialize the enableMultiprocess flag.
1469 </p>
1470 <dl>
1471
1472 <dt><i>enableMultiprocess</i> (bool)</dt>
1473 <dd>
1474 flag indicating, that the debugger should be
1475 run in multi process mode
1476 </dd>
1477 </dl>
1478 <a NAME="DebugUI.setEnvHistory" ID="DebugUI.setEnvHistory"></a>
1479 <h4>DebugUI.setEnvHistory</h4>
1480 <b>setEnvHistory</b>(<i>envStr, clearHistories=False, history=None</i>)
1481
1482 <p>
1483 Public slot to initialize the env history.
1484 </p>
1485 <dl>
1486
1487 <dt><i>envStr</i></dt>
1488 <dd>
1489 the environment settings (string)
1490 </dd>
1491 <dt><i>clearHistories</i></dt>
1492 <dd>
1493 flag indicating, that the list should
1494 be cleared (boolean)
1495 </dd>
1496 <dt><i>history</i></dt>
1497 <dd>
1498 list of history entries to be set (list of strings)
1499 </dd>
1500 </dl>
1501 <a NAME="DebugUI.setExcIgnoreList" ID="DebugUI.setExcIgnoreList"></a>
1502 <h4>DebugUI.setExcIgnoreList</h4>
1503 <b>setExcIgnoreList</b>(<i>excIgnoreList</i>)
1504
1505 <p>
1506 Public slot to initialize the ignored exceptions type list.
1507 </p>
1508 <dl>
1509
1510 <dt><i>excIgnoreList</i></dt>
1511 <dd>
1512 list of ignored exception types (list of strings)
1513 </dd>
1514 </dl>
1515 <a NAME="DebugUI.setExcList" ID="DebugUI.setExcList"></a>
1516 <h4>DebugUI.setExcList</h4>
1517 <b>setExcList</b>(<i>excList</i>)
1518
1519 <p>
1520 Public slot to initialize the exceptions type list.
1521 </p>
1522 <dl>
1523
1524 <dt><i>excList</i></dt>
1525 <dd>
1526 list of exception types (list of strings)
1527 </dd>
1528 </dl>
1529 <a NAME="DebugUI.setExceptionReporting" ID="DebugUI.setExceptionReporting"></a>
1530 <h4>DebugUI.setExceptionReporting</h4>
1531 <b>setExceptionReporting</b>(<i>exceptions</i>)
1532
1533 <p>
1534 Public slot to initialize the exception reporting flag.
1535 </p>
1536 <dl>
1537
1538 <dt><i>exceptions</i></dt>
1539 <dd>
1540 flag indicating exception reporting status (boolean)
1541 </dd>
1542 </dl>
1543 <a NAME="DebugUI.setMultiprocessNoDebugHistory" ID="DebugUI.setMultiprocessNoDebugHistory"></a>
1544 <h4>DebugUI.setMultiprocessNoDebugHistory</h4>
1545 <b>setMultiprocessNoDebugHistory</b>(<i>noDebugList, clearHistories=False, history=None</i>)
1546
1547 <p>
1548 Public slot to initialize the no debug list history.
1549 </p>
1550 <dl>
1551
1552 <dt><i>noDebugList</i> (str)</dt>
1553 <dd>
1554 whitespace separated list of programs not to be
1555 debugged
1556 </dd>
1557 <dt><i>clearHistories</i> (bool)</dt>
1558 <dd>
1559 flag indicating, that the list should be cleared
1560 </dd>
1561 <dt><i>history</i> (list of str)</dt>
1562 <dd>
1563 list of history entries to be set
1564 </dd>
1565 </dl>
1566 <a NAME="DebugUI.setScriptsHistory" ID="DebugUI.setScriptsHistory"></a>
1567 <h4>DebugUI.setScriptsHistory</h4>
1568 <b>setScriptsHistory</b>(<i>scriptName, clearHistories=False, history=None</i>)
1569
1570 <p>
1571 Public slot to initialize the scripts history.
1572 </p>
1573 <dl>
1574
1575 <dt><i>scriptName</i> (str)</dt>
1576 <dd>
1577 script name
1578 </dd>
1579 <dt><i>clearHistories</i> (bool (optional))</dt>
1580 <dd>
1581 flag indicating, that the list should
1582 be cleared (defaults to False)
1583 </dd>
1584 <dt><i>history</i> (list of str (optional))</dt>
1585 <dd>
1586 list of history entries to be set (defaults to None)
1587 </dd>
1588 </dl>
1589 <a NAME="DebugUI.setTracePython" ID="DebugUI.setTracePython"></a>
1590 <h4>DebugUI.setTracePython</h4>
1591 <b>setTracePython</b>(<i>tracePython</i>)
1592
1593 <p>
1594 Public slot to initialize the trace Python flag.
1595 </p>
1596 <dl>
1597
1598 <dt><i>tracePython</i></dt>
1599 <dd>
1600 flag indicating if the Python library should be
1601 traced as well (boolean)
1602 </dd>
1603 </dl>
1604 <a NAME="DebugUI.setWdHistory" ID="DebugUI.setWdHistory"></a>
1605 <h4>DebugUI.setWdHistory</h4>
1606 <b>setWdHistory</b>(<i>wdStr, clearHistories=False, history=None</i>)
1607
1608 <p>
1609 Public slot to initialize the wd history.
1610 </p>
1611 <dl>
1612
1613 <dt><i>wdStr</i></dt>
1614 <dd>
1615 the working directory (string)
1616 </dd>
1617 <dt><i>clearHistories</i></dt>
1618 <dd>
1619 flag indicating, that the list should
1620 be cleared (boolean)
1621 </dd>
1622 <dt><i>history</i></dt>
1623 <dd>
1624 list of history entries to be set (list of strings)
1625 </dd>
1626 </dl>
1627 <a NAME="DebugUI.showNotification" ID="DebugUI.showNotification"></a>
1628 <h4>DebugUI.showNotification</h4>
1629 <b>showNotification</b>(<i>notification, kind=NotificationTypes.INFORMATION, timeout=None</i>)
1630
1631 <p>
1632 Public method to show some notification message.
1633 </p>
1634 <dl>
1635
1636 <dt><i>notification</i> (str)</dt>
1637 <dd>
1638 message to be shown
1639 </dd>
1640 <dt><i>kind</i> (NotificationTypes)</dt>
1641 <dd>
1642 kind of notification to be shown
1643 </dd>
1644 <dt><i>timeout</i> (int)</dt>
1645 <dd>
1646 timeout for the notification (None = use configured
1647 default, 0 = indefinitely)
1648 </dd>
1649 </dl>
1650 <a NAME="DebugUI.shutdown" ID="DebugUI.shutdown"></a>
1651 <h4>DebugUI.shutdown</h4>
1652 <b>shutdown</b>(<i></i>)
1653
1654 <p>
1655 Public method to perform shutdown actions.
1656 </p>
1657 <a NAME="DebugUI.shutdownServer" ID="DebugUI.shutdownServer"></a>
1658 <h4>DebugUI.shutdownServer</h4>
1659 <b>shutdownServer</b>(<i></i>)
1660
1661 <p>
1662 Public method to shut down the debug server.
1663 </p>
1664 <p>
1665 This is needed to cleanly close the sockets on Win OS.
1666 </p>
1667 <dl>
1668 <dt>Return:</dt>
1669 <dd>
1670 always true
1671 </dd>
1672 </dl>
1673 <a NAME="DebugUI.variablesFilter" ID="DebugUI.variablesFilter"></a>
1674 <h4>DebugUI.variablesFilter</h4>
1675 <b>variablesFilter</b>(<i>scope</i>)
1676
1677 <p>
1678 Public method to get the variables filter for a scope.
1679 </p>
1680 <dl>
1681
1682 <dt><i>scope</i></dt>
1683 <dd>
1684 flag indicating global (True) or local (False) scope
1685 </dd>
1686 </dl>
1687 <dl>
1688 <dt>Return:</dt>
1689 <dd>
1690 filters list
1691 </dd>
1692 </dl>
1693 <dl>
1694 <dt>Return Type:</dt>
1695 <dd>
1696 list of str
1697 </dd>
1698 </dl>
1699 <div align="right"><a href="#top">Up</a></div>
1700 <hr />
1701 </body></html>

eric ide

mercurial