297 <dd> |
297 <dd> |
298 the text to be completed (string) |
298 the text to be completed (string) |
299 </dd> |
299 </dd> |
300 </dl><a NAME="DebugClientBase.__dumpVariable" ID="DebugClientBase.__dumpVariable"></a> |
300 </dl><a NAME="DebugClientBase.__dumpVariable" ID="DebugClientBase.__dumpVariable"></a> |
301 <h4>DebugClientBase.__dumpVariable</h4> |
301 <h4>DebugClientBase.__dumpVariable</h4> |
302 <b>__dumpVariable</b>(<i>var, frmnr, scope, filterList, maxSize</i>) |
302 <b>__dumpVariable</b>(<i>var, frmnr, scope, filterList</i>) |
303 <p> |
303 <p> |
304 Private method to return the variables of a frame to the debug server. |
304 Private method to return the variables of a frame to the debug server. |
305 </p><dl> |
305 </p><dl> |
306 <dt><i>var</i> (list of strings)</dt> |
306 <dt><i>var</i> (list of strings)</dt> |
307 <dd> |
307 <dd> |
308 list encoded name of the requested variable |
308 list encoded name of the requested variable |
309 </dd><dt><i>frmnr</i> (int)</dt> |
309 </dd><dt><i>frmnr</i> (int)</dt> |
310 <dd> |
310 <dd> |
311 distance of frame reported on. 0 is the current frame |
311 distance of frame reported on. 0 is the current frame |
312 </dd><dt><i>scope</i></dt> |
312 </dd><dt><i>scope</i> (int)</dt> |
313 <dd> |
313 <dd> |
314 1 to report global variables, 0 for local variables (int) |
314 1 to report global variables, 0 for local variables |
315 </dd><dt><i>filterList</i> (list of int)</dt> |
315 </dd><dt><i>filterList</i> (list of int)</dt> |
316 <dd> |
316 <dd> |
317 the indices of variable types to be filtered |
317 the indices of variable types to be filtered |
318 </dd><dt><i>maxSize</i> (int)</dt> |
|
319 <dd> |
|
320 maximum size the formatted value of a variable will |
|
321 be shown. If it is bigger than that, a 'too big' indication will |
|
322 be given. |
|
323 </dd> |
318 </dd> |
324 </dl><a NAME="DebugClientBase.__dumpVariables" ID="DebugClientBase.__dumpVariables"></a> |
319 </dl><a NAME="DebugClientBase.__dumpVariables" ID="DebugClientBase.__dumpVariables"></a> |
325 <h4>DebugClientBase.__dumpVariables</h4> |
320 <h4>DebugClientBase.__dumpVariables</h4> |
326 <b>__dumpVariables</b>(<i>frmnr, scope, filterList, maxSize</i>) |
321 <b>__dumpVariables</b>(<i>frmnr, scope, filterList</i>) |
327 <p> |
322 <p> |
328 Private method to return the variables of a frame to the debug server. |
323 Private method to return the variables of a frame to the debug server. |
329 </p><dl> |
324 </p><dl> |
330 <dt><i>frmnr</i> (int)</dt> |
325 <dt><i>frmnr</i> (int)</dt> |
331 <dd> |
326 <dd> |
334 <dd> |
329 <dd> |
335 1 to report global variables, 0 for local variables |
330 1 to report global variables, 0 for local variables |
336 </dd><dt><i>filterList</i> (list of int)</dt> |
331 </dd><dt><i>filterList</i> (list of int)</dt> |
337 <dd> |
332 <dd> |
338 the indices of variable types to be filtered |
333 the indices of variable types to be filtered |
339 </dd><dt><i>maxSize</i> (int)</dt> |
|
340 <dd> |
|
341 maximum size the formatted value of a variable will |
|
342 be shown. If it is bigger than that, a 'too big' indication will |
|
343 be given. |
|
344 </dd> |
334 </dd> |
345 </dl><a NAME="DebugClientBase.__extractIndicators" ID="DebugClientBase.__extractIndicators"></a> |
335 </dl><a NAME="DebugClientBase.__extractIndicators" ID="DebugClientBase.__extractIndicators"></a> |
346 <h4>DebugClientBase.__extractIndicators</h4> |
336 <h4>DebugClientBase.__extractIndicators</h4> |
347 <b>__extractIndicators</b>(<i>var</i>) |
337 <b>__extractIndicators</b>(<i>var</i>) |
348 <p> |
338 <p> |
383 variable entry is a tuple of three elements, the variable name, |
373 variable entry is a tuple of three elements, the variable name, |
384 its type and value. |
374 its type and value. |
385 </dd> |
375 </dd> |
386 </dl><a NAME="DebugClientBase.__formatVariablesList" ID="DebugClientBase.__formatVariablesList"></a> |
376 </dl><a NAME="DebugClientBase.__formatVariablesList" ID="DebugClientBase.__formatVariablesList"></a> |
387 <h4>DebugClientBase.__formatVariablesList</h4> |
377 <h4>DebugClientBase.__formatVariablesList</h4> |
388 <b>__formatVariablesList</b>(<i>keylist, dict_, scope, filterList=None, formatSequences=False, maxSize=0</i>) |
378 <b>__formatVariablesList</b>(<i>dict_, scope, filterList=None</i>) |
389 <p> |
379 <p> |
390 Private method to produce a formated variables list. |
380 Private method to produce a formated variables list. |
391 </p><p> |
381 </p><p> |
392 The dictionary passed in to it is scanned. Variables are |
382 The dictionary passed in to it is scanned. Variables are |
393 only added to the list, if their type is not contained |
383 only added to the list, if their type is not contained |
394 in the filter list and their name doesn't match any of the filter |
384 in the filter list and their name doesn't match any of the filter |
395 expressions. The formated variables list (a list of tuples of 3 |
385 expressions. The formated variables list (a list of tuples of 3 |
396 values) is returned. |
386 values) is returned. |
397 </p><dl> |
387 </p><dl> |
398 <dt><i>keylist</i> (list of str)</dt> |
388 <dt><i>dict_</i> (dict)</dt> |
399 <dd> |
|
400 keys of the dictionary to be formatted |
|
401 </dd><dt><i>dict_</i> (dict)</dt> |
|
402 <dd> |
389 <dd> |
403 the dictionary to be scanned |
390 the dictionary to be scanned |
404 </dd><dt><i>scope</i> (int)</dt> |
391 </dd><dt><i>scope</i> (int)</dt> |
405 <dd> |
392 <dd> |
406 1 to filter using the globals filter, 0 using the locals |
393 1 to filter using the globals filter, 0 using the locals |
410 </dd><dt><i>filterList</i> (list of int)</dt> |
397 </dd><dt><i>filterList</i> (list of int)</dt> |
411 <dd> |
398 <dd> |
412 the indices of variable types to be filtered. |
399 the indices of variable types to be filtered. |
413 Variables are only added to the list, if their type is not |
400 Variables are only added to the list, if their type is not |
414 contained in the filter list. |
401 contained in the filter list. |
415 </dd><dt><i>formatSequences</i> (bool)</dt> |
|
416 <dd> |
|
417 flag indicating, that sequence or dictionary |
|
418 variables should be formatted. If it is 0 (or false), just the |
|
419 number of items contained in these variables is returned. |
|
420 </dd><dt><i>maxSize</i> (int)</dt> |
|
421 <dd> |
|
422 maximum size the formatted value of a variable will |
|
423 be shown. If it is bigger than that, a 'too big' indication will |
|
424 be placed in the value field. |
|
425 </dd> |
402 </dd> |
426 </dl><dl> |
403 </dl><dl> |
427 <dt>Returns:</dt> |
404 <dt>Returns:</dt> |
428 <dd> |
405 <dd> |
429 A tuple consisting of a list of formatted variables. Each |
406 A tuple consisting of a list of formatted variables. Each |