eric7/Documentation/Source/eric7.DebugClients.Python.DebugClientBase.html

branch
eric7
changeset 8575
423c4db4101e
parent 8549
15eca21fd968
child 8596
d64760b2da50
equal deleted inserted replaced
8574:e5d88ab9d84d 8575:423c4db4101e
85 <h3>Derived from</h3> 85 <h3>Derived from</h3>
86 None 86 None
87 <h3>Class Attributes</h3> 87 <h3>Class Attributes</h3>
88 88
89 <table> 89 <table>
90 <tr><td>Indicators</td></tr><tr><td>arrayTypes</td></tr><tr><td>clientCapabilities</td></tr> 90 <tr><td>Type2Indicators</td></tr><tr><td>clientCapabilities</td></tr>
91 </table> 91 </table>
92 <h3>Class Methods</h3> 92 <h3>Class Methods</h3>
93 93
94 <table> 94 <table>
95 <tr><td>None</td></tr> 95 <tr><td>None</td></tr>
129 <tr> 129 <tr>
130 <td><a href="#DebugClientBase.__dumpVariables">__dumpVariables</a></td> 130 <td><a href="#DebugClientBase.__dumpVariables">__dumpVariables</a></td>
131 <td>Private method to return the variables of a frame to the debug server.</td> 131 <td>Private method to return the variables of a frame to the debug server.</td>
132 </tr> 132 </tr>
133 <tr> 133 <tr>
134 <td><a href="#DebugClientBase.__extractIndicators">__extractIndicators</a></td>
135 <td>Private method to extract the indicator string from a variable text.</td>
136 </tr>
137 <tr>
138 <td><a href="#DebugClientBase.__formatQtVariable">__formatQtVariable</a></td>
139 <td>Private method to produce a formatted output of a simple Qt5/Qt6 type.</td>
140 </tr>
141 <tr>
142 <td><a href="#DebugClientBase.__formatVariablesList">__formatVariablesList</a></td> 134 <td><a href="#DebugClientBase.__formatVariablesList">__formatVariablesList</a></td>
143 <td>Private method to produce a formated variables list.</td> 135 <td>Private method to produce a formated variables list.</td>
144 </tr> 136 </tr>
145 <tr> 137 <tr>
146 <td><a href="#DebugClientBase.__generateFilterObjects">__generateFilterObjects</a></td> 138 <td><a href="#DebugClientBase.__generateFilterObjects">__generateFilterObjects</a></td>
461 <dt><i>filterList</i> (list of str)</dt> 453 <dt><i>filterList</i> (list of str)</dt>
462 <dd> 454 <dd>
463 list of variable types to be filtered 455 list of variable types to be filtered
464 </dd> 456 </dd>
465 </dl> 457 </dl>
466 <a NAME="DebugClientBase.__extractIndicators" ID="DebugClientBase.__extractIndicators"></a>
467 <h4>DebugClientBase.__extractIndicators</h4>
468 <b>__extractIndicators</b>(<i>var</i>)
469
470 <p>
471 Private method to extract the indicator string from a variable text.
472 </p>
473 <dl>
474
475 <dt><i>var</i> (str)</dt>
476 <dd>
477 variable text
478 </dd>
479 </dl>
480 <dl>
481 <dt>Return:</dt>
482 <dd>
483 tuple containing the variable text without indicators and the
484 indicator string
485 </dd>
486 </dl>
487 <dl>
488 <dt>Return Type:</dt>
489 <dd>
490 tuple of two str
491 </dd>
492 </dl>
493 <a NAME="DebugClientBase.__formatQtVariable" ID="DebugClientBase.__formatQtVariable"></a>
494 <h4>DebugClientBase.__formatQtVariable</h4>
495 <b>__formatQtVariable</b>(<i>value, qttype</i>)
496
497 <p>
498 Private method to produce a formatted output of a simple Qt5/Qt6 type.
499 </p>
500 <dl>
501
502 <dt><i>value</i></dt>
503 <dd>
504 variable to be formatted
505 </dd>
506 <dt><i>qttype</i></dt>
507 <dd>
508 type of the Qt variable to be formatted (string)
509 </dd>
510 </dl>
511 <dl>
512 <dt>Return:</dt>
513 <dd>
514 A tuple consisting of a list of formatted variables. Each
515 variable entry is a tuple of three elements, the variable name,
516 its type and value.
517 </dd>
518 </dl>
519 <a NAME="DebugClientBase.__formatVariablesList" ID="DebugClientBase.__formatVariablesList"></a> 458 <a NAME="DebugClientBase.__formatVariablesList" ID="DebugClientBase.__formatVariablesList"></a>
520 <h4>DebugClientBase.__formatVariablesList</h4> 459 <h4>DebugClientBase.__formatVariablesList</h4>
521 <b>__formatVariablesList</b>(<i>dict_, scope, filterList=None</i>) 460 <b>__formatVariablesList</b>(<i>variables, scope, filterList=None</i>)
522 461
523 <p> 462 <p>
524 Private method to produce a formated variables list. 463 Private method to produce a formated variables list.
525 </p> 464 </p>
526 <p> 465 <p>
530 expressions. The formated variables list (a list of tuples of 3 469 expressions. The formated variables list (a list of tuples of 3
531 values) is returned. 470 values) is returned.
532 </p> 471 </p>
533 <dl> 472 <dl>
534 473
535 <dt><i>dict_</i> (dict)</dt> 474 <dt><i>variables</i> (list of tuple of (str, Any) or (str, str, Any))</dt>
536 <dd> 475 <dd>
537 the dictionary to be scanned 476 variables list to be processed
538 </dd> 477 </dd>
539 <dt><i>scope</i> (int)</dt> 478 <dt><i>scope</i> (int)</dt>
540 <dd> 479 <dd>
541 1 to filter using the globals filter, 0 using the locals 480 1 to filter using the globals filter, 0 using the locals
542 filter. 481 filter.

eric ide

mercurial