Documentation/Source/eric5.Debugger.DebugUI.html

changeset 3018
70924c0bdaf1
parent 2387
2d119e79ab54
child 3591
2f2a4a76dd22
equal deleted inserted replaced
3017:6a8cb7632448 3018:70924c0bdaf1
45 Class implementing the debugger part of the UI. 45 Class implementing the debugger part of the UI.
46 </p><h3>Signals</h3> 46 </p><h3>Signals</h3>
47 <dl> 47 <dl>
48 <dt>appendStdout(msg)</dt> 48 <dt>appendStdout(msg)</dt>
49 <dd> 49 <dd>
50 emitted when the client program has terminated and the 50 emitted when the client program has terminated
51 display of the termination dialog is suppressed 51 and the display of the termination dialog is suppressed
52 </dd><dt>clientStack(stack)</dt> 52 </dd><dt>clientStack(stack)</dt>
53 <dd> 53 <dd>
54 emitted at breaking after a reported exception 54 emitted at breaking after a reported exception
55 </dd><dt>compileForms()</dt> 55 </dd><dt>compileForms()</dt>
56 <dd> 56 <dd>
57 emitted if changed project forms should be compiled 57 emitted if changed project forms should be compiled
58 </dd><dt>compileResources()</dt> 58 </dd><dt>compileResources()</dt>
59 <dd> 59 <dd>
60 emitted if changed project resources should be compiled 60 emitted if changed project resources should be
61 compiled
61 </dd><dt>debuggingStarted(filename)</dt> 62 </dd><dt>debuggingStarted(filename)</dt>
62 <dd> 63 <dd>
63 emitted when a debugging session was started 64 emitted when a debugging session was
65 started
64 </dd><dt>exceptionInterrupt()</dt> 66 </dd><dt>exceptionInterrupt()</dt>
65 <dd> 67 <dd>
66 emitted after the execution was interrupted by an 68 emitted after the execution was interrupted
67 exception and acknowledged by the user 69 by an exception and acknowledged by the user
68 </dd><dt>resetUI()</dt> 70 </dd><dt>resetUI()</dt>
69 <dd> 71 <dd>
70 emitted to reset the UI 72 emitted to reset the UI
71 </dd> 73 </dd>
72 </dl> 74 </dl>
428 <dt><i>message</i></dt> 430 <dt><i>message</i></dt>
429 <dd> 431 <dd>
430 message of the syntax error (string) 432 message of the syntax error (string)
431 </dd><dt><i>filename</i></dt> 433 </dd><dt><i>filename</i></dt>
432 <dd> 434 <dd>
433 translated filename of the syntax error position (string) 435 translated filename of the syntax error position
436 (string)
434 </dd><dt><i>lineNo</i></dt> 437 </dd><dt><i>lineNo</i></dt>
435 <dd> 438 <dd>
436 line number of the syntax error position (integer) 439 line number of the syntax error position (integer)
437 </dd><dt><i>characterNo</i></dt> 440 </dd><dt><i>characterNo</i></dt>
438 <dd> 441 <dd>
439 character number of the syntax error position (integer) 442 character number of the syntax error position
443 (integer)
440 </dd> 444 </dd>
441 </dl><a NAME="DebugUI.__clientThreadSet" ID="DebugUI.__clientThreadSet"></a> 445 </dl><a NAME="DebugUI.__clientThreadSet" ID="DebugUI.__clientThreadSet"></a>
442 <h4>DebugUI.__clientThreadSet</h4> 446 <h4>DebugUI.__clientThreadSet</h4>
443 <b>__clientThreadSet</b>(<i></i>) 447 <b>__clientThreadSet</b>(<i></i>)
444 <p> 448 <p>
445 Private method to handle a change of the client's current thread. 449 Private method to handle a change of the client's current thread.
446 </p><a NAME="DebugUI.__clientVariable" ID="DebugUI.__clientVariable"></a> 450 </p><a NAME="DebugUI.__clientVariable" ID="DebugUI.__clientVariable"></a>
447 <h4>DebugUI.__clientVariable</h4> 451 <h4>DebugUI.__clientVariable</h4>
448 <b>__clientVariable</b>(<i>scope, variables</i>) 452 <b>__clientVariable</b>(<i>scope, variables</i>)
449 <p> 453 <p>
450 Private method to write the contents of a clients classvariable to the user 454 Private method to write the contents of a clients classvariable to
451 interface. 455 the user interface.
452 </p><dl> 456 </p><dl>
453 <dt><i>scope</i></dt> 457 <dt><i>scope</i></dt>
454 <dd> 458 <dd>
455 scope of the variables (-1 = empty global, 1 = global, 0 = local) 459 scope of the variables (-1 = empty global, 1 = global,
460 0 = local)
456 </dd><dt><i>variables</i></dt> 461 </dd><dt><i>variables</i></dt>
457 <dd> 462 <dd>
458 the list of members of a classvariable from the client 463 the list of members of a classvariable from the client
459 </dd> 464 </dd>
460 </dl><a NAME="DebugUI.__clientVariables" ID="DebugUI.__clientVariables"></a> 465 </dl><a NAME="DebugUI.__clientVariables" ID="DebugUI.__clientVariables"></a>
463 <p> 468 <p>
464 Private method to write the clients variables to the user interface. 469 Private method to write the clients variables to the user interface.
465 </p><dl> 470 </p><dl>
466 <dt><i>scope</i></dt> 471 <dt><i>scope</i></dt>
467 <dd> 472 <dd>
468 scope of the variables (-1 = empty global, 1 = global, 0 = local) 473 scope of the variables (-1 = empty global, 1 = global,
474 0 = local)
469 </dd><dt><i>variables</i></dt> 475 </dd><dt><i>variables</i></dt>
470 <dd> 476 <dd>
471 the list of variables from the client 477 the list of variables from the client
472 </dd> 478 </dd>
473 </dl><a NAME="DebugUI.__clientWatchConditionError" ID="DebugUI.__clientWatchConditionError"></a> 479 </dl><a NAME="DebugUI.__clientWatchConditionError" ID="DebugUI.__clientWatchConditionError"></a>
544 <p> 550 <p>
545 Private method to handle the coverage actions. 551 Private method to handle the coverage actions.
546 </p><dl> 552 </p><dl>
547 <dt><i>runProject</i></dt> 553 <dt><i>runProject</i></dt>
548 <dd> 554 <dd>
549 flag indicating coverage of the current project (True) 555 flag indicating coverage of the current project
550 or script (false) 556 (True) or script (false)
551 </dd> 557 </dd>
552 </dl><a NAME="DebugUI.__doDebug" ID="DebugUI.__doDebug"></a> 558 </dl><a NAME="DebugUI.__doDebug" ID="DebugUI.__doDebug"></a>
553 <h4>DebugUI.__doDebug</h4> 559 <h4>DebugUI.__doDebug</h4>
554 <b>__doDebug</b>(<i>debugProject</i>) 560 <b>__doDebug</b>(<i>debugProject</i>)
555 <p> 561 <p>
556 Private method to handle the debug actions. 562 Private method to handle the debug actions.
557 </p><dl> 563 </p><dl>
558 <dt><i>debugProject</i></dt> 564 <dt><i>debugProject</i></dt>
559 <dd> 565 <dd>
560 flag indicating debugging the current project (True) 566 flag indicating debugging the current project
561 or script (False) 567 (True) or script (False)
562 </dd> 568 </dd>
563 </dl><a NAME="DebugUI.__doProfile" ID="DebugUI.__doProfile"></a> 569 </dl><a NAME="DebugUI.__doProfile" ID="DebugUI.__doProfile"></a>
564 <h4>DebugUI.__doProfile</h4> 570 <h4>DebugUI.__doProfile</h4>
565 <b>__doProfile</b>(<i>runProject</i>) 571 <b>__doProfile</b>(<i>runProject</i>)
566 <p> 572 <p>
567 Private method to handle the profile actions. 573 Private method to handle the profile actions.
568 </p><dl> 574 </p><dl>
569 <dt><i>runProject</i></dt> 575 <dt><i>runProject</i></dt>
570 <dd> 576 <dd>
571 flag indicating profiling of the current project (True) 577 flag indicating profiling of the current project
572 or script (False) 578 (True) or script (False)
573 </dd> 579 </dd>
574 </dl><a NAME="DebugUI.__doRestart" ID="DebugUI.__doRestart"></a> 580 </dl><a NAME="DebugUI.__doRestart" ID="DebugUI.__doRestart"></a>
575 <h4>DebugUI.__doRestart</h4> 581 <h4>DebugUI.__doRestart</h4>
576 <b>__doRestart</b>(<i></i>) 582 <b>__doRestart</b>(<i></i>)
577 <p> 583 <p>
578 Private slot to handle the restart action to restart the last debugged file. 584 Private slot to handle the restart action to restart the last
585 debugged file.
579 </p><a NAME="DebugUI.__doRun" ID="DebugUI.__doRun"></a> 586 </p><a NAME="DebugUI.__doRun" ID="DebugUI.__doRun"></a>
580 <h4>DebugUI.__doRun</h4> 587 <h4>DebugUI.__doRun</h4>
581 <b>__doRun</b>(<i>runProject</i>) 588 <b>__doRun</b>(<i>runProject</i>)
582 <p> 589 <p>
583 Private method to handle the run actions. 590 Private method to handle the run actions.
778 <p> 785 <p>
779 Public slot to initialize the debug toolbars. 786 Public slot to initialize the debug toolbars.
780 </p><dl> 787 </p><dl>
781 <dt><i>toolbarManager</i></dt> 788 <dt><i>toolbarManager</i></dt>
782 <dd> 789 <dd>
783 reference to a toolbar manager object (E5ToolBarManager) 790 reference to a toolbar manager object
791 (E5ToolBarManager)
784 </dd> 792 </dd>
785 </dl><dl> 793 </dl><dl>
786 <dt>Returns:</dt> 794 <dt>Returns:</dt>
787 <dd> 795 <dd>
788 the generated toolbars (list of QToolBar) 796 the generated toolbars (list of QToolBar)
818 <p> 826 <p>
819 Public slot to initialize the autoContinue flag. 827 Public slot to initialize the autoContinue flag.
820 </p><dl> 828 </p><dl>
821 <dt><i>autoContinue</i></dt> 829 <dt><i>autoContinue</i></dt>
822 <dd> 830 <dd>
823 flag indicating, that the debugger should not stop at 831 flag indicating, that the debugger should not
824 the first executable line (boolean) 832 stop at the first executable line (boolean)
825 </dd> 833 </dd>
826 </dl><a NAME="DebugUI.setEnvHistory" ID="DebugUI.setEnvHistory"></a> 834 </dl><a NAME="DebugUI.setEnvHistory" ID="DebugUI.setEnvHistory"></a>
827 <h4>DebugUI.setEnvHistory</h4> 835 <h4>DebugUI.setEnvHistory</h4>
828 <b>setEnvHistory</b>(<i>envStr, clearHistories=False</i>) 836 <b>setEnvHistory</b>(<i>envStr, clearHistories=False</i>)
829 <p> 837 <p>

eric ide

mercurial