IExpressionChildProviderQueryChildren Method

Queries the children of an expression (e.g. values of the fields in a C++ class).

Definition

Namespace: VisualGDBExpressions
Assembly: VisualGDBExpressions (in VisualGDBExpressions.dll) Version: 5.6.109.1 (5.6.109.4849)
C#
ExpressionChildRange QueryChildren(
	int firstChild,
	int childCount
)

Parameters

firstChild  Int32
Specifies the zero-based index of the first expression child to query
childCount  Int32
Specifies the amount of children to query.

Return Value

ExpressionChildRange
Returns a range object containing any subrange of children within the requested range (e.g. all children if GDB does not support partial queries)

Remarks

This method can return any subrange of the requested child range. This happens as different versions of GDB use different ways of specifying the private/public/protected modifiers and some of the versions can only query all children at the same time. VisualGDB uses the returned range object to cache as much information as it can and to minimize the amount of GDB commands it issues.

See Also