Documentation/Source/eric6.DebugClients.Python2.DebugClientBase.html

changeset 5161
f7b6ded9cc37
parent 5144
1ab536d25072
child 5173
632257ad7337
equal deleted inserted replaced
5160:d8908660fc65 5161:f7b6ded9cc37
297 </dd><dt><i>scope</i></dt> 297 </dd><dt><i>scope</i></dt>
298 <dd> 298 <dd>
299 1 to report global variables, 0 for local variables (int) 299 1 to report global variables, 0 for local variables (int)
300 </dd><dt><i>filter</i></dt> 300 </dd><dt><i>filter</i></dt>
301 <dd> 301 <dd>
302 the indices of variable types to be filtered (list of 302 the indices of variable types to be filtered
303 int) 303 (list of int)
304 </dd> 304 </dd>
305 </dl><a NAME="DebugClientBase.__formatQtVariable" ID="DebugClientBase.__formatQtVariable"></a> 305 </dl><a NAME="DebugClientBase.__formatQtVariable" ID="DebugClientBase.__formatQtVariable"></a>
306 <h4>DebugClientBase.__formatQtVariable</h4> 306 <h4>DebugClientBase.__formatQtVariable</h4>
307 <b>__formatQtVariable</b>(<i>value, vtype</i>) 307 <b>__formatQtVariable</b>(<i>value, vtype</i>)
308 <p> 308 <p>
492 <dd> 492 <dd>
493 the converted filename (string) 493 the converted filename (string)
494 </dd> 494 </dd>
495 </dl><a NAME="DebugClientBase.attachThread" ID="DebugClientBase.attachThread"></a> 495 </dl><a NAME="DebugClientBase.attachThread" ID="DebugClientBase.attachThread"></a>
496 <h4>DebugClientBase.attachThread</h4> 496 <h4>DebugClientBase.attachThread</h4>
497 <b>attachThread</b>(<i>target=None, args=None, kwargs=None, mainThread=0</i>) 497 <b>attachThread</b>(<i>target=None, args=None, kwargs=None, mainThread=False</i>)
498 <p> 498 <p>
499 Public method to setup a thread for DebugClient to debug. 499 Public method to setup a thread for DebugClient to debug.
500 </p><p> 500 </p><p>
501 If mainThread is non-zero, then we are attaching to the already 501 If mainThread is True, then we are attaching to the already
502 started mainthread of the app and the rest of the args are ignored. 502 started mainthread of the app and the rest of the args are ignored.
503 </p><p>
504 This is just an empty function and is overridden in the threaded
505 debugger.
506 </p><dl> 503 </p><dl>
507 <dt><i>target</i></dt> 504 <dt><i>target</i></dt>
508 <dd> 505 <dd>
509 the start function of the target thread (i.e. the user 506 the start function of the target thread (i.e. the user
510 code) 507 code)
514 </dd><dt><i>kwargs</i></dt> 511 </dd><dt><i>kwargs</i></dt>
515 <dd> 512 <dd>
516 keyword arguments to pass to target 513 keyword arguments to pass to target
517 </dd><dt><i>mainThread</i></dt> 514 </dd><dt><i>mainThread</i></dt>
518 <dd> 515 <dd>
519 non-zero, if we are attaching to the already 516 True, if we are attaching to the already
520 started mainthread of the app 517 started mainthread of the app
521 </dd> 518 </dd>
522 </dl><a NAME="DebugClientBase.close" ID="DebugClientBase.close"></a> 519 </dl><a NAME="DebugClientBase.close" ID="DebugClientBase.close"></a>
523 <h4>DebugClientBase.close</h4> 520 <h4>DebugClientBase.close</h4>
524 <b>close</b>(<i>fd</i>) 521 <b>close</b>(<i>fd</i>)
572 Public method to poll for events like 'set break point'. 569 Public method to poll for events like 'set break point'.
573 </p><a NAME="DebugClientBase.fork" ID="DebugClientBase.fork"></a> 570 </p><a NAME="DebugClientBase.fork" ID="DebugClientBase.fork"></a>
574 <h4>DebugClientBase.fork</h4> 571 <h4>DebugClientBase.fork</h4>
575 <b>fork</b>(<i></i>) 572 <b>fork</b>(<i></i>)
576 <p> 573 <p>
577 Public method implementing a fork routine deciding which branch to 574 Public method implementing a fork routine deciding which branch
578 follow. 575 to follow.
579 </p><dl> 576 </p><dl>
580 <dt>Returns:</dt> 577 <dt>Returns:</dt>
581 <dd> 578 <dd>
582 process ID (integer) 579 process ID (integer)
583 </dd> 580 </dd>

eric ide

mercurial