MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / _std_values

Function _std_values

tools/scripts/gdbext.py:177–191  ·  view source on GitHub ↗
(StdPrinter, value)

Source from the content-addressed store, hash-verified

175
176
177def _std_values(StdPrinter, value):
178 printer = StdPrinter('', value)
179 try:
180 values = printer.children()
181 except AttributeError as ex:
182 print(
183 'The following exception is a bug in libstdcxx. This is a patch that might fix',
184 'this:',
185 ' https://sourceware.org/pipermail/libstdc++/2020-December/051773.html',
186 'However it can also be fixed by switching to a frame of a C++ function',
187 'and trying again.',
188 sep='\n', file=sys.stderr)
189 raise ex
190 for e in values:
191 yield e[1]
192
193def std_vector_values(value):
194 import libstdcxx

Callers 3

std_vector_valuesFunction · 0.85
std_set_valuesFunction · 0.85
_std_pairsFunction · 0.85

Calls 2

childrenMethod · 0.80
printFunction · 0.50

Tested by

no test coverage detected