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

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

eric ide

mercurial