Synthetic providers for collection types use a child name format of "[N]". This `ValueObjectSynthetic` to automatically convert child names in this convention to the index embedded in the subscript string. With this change, synthetic formatters for collections will only need to implement `GetIndexOfChildWithName` or `get_child_index` for non-indexed collection children. Some examples of non-indexed children are `$$dereference$$` support, or "hidden" children. The automatic conversion applies to N values that are less than the number of children reported by the synthetic provider.
13 lines
150 B
C
13 lines
150 B
C
struct Thing {
|
|
int zero;
|
|
int one;
|
|
};
|
|
|
|
int main() {
|
|
struct Thing x;
|
|
x.zero = 1;
|
|
x.one = 2;
|
|
__builtin_printf("break here\n");
|
|
return 0;
|
|
}
|