MCPcopy Create free account
hub / github.com/apache/arrow / gdb

Function gdb

python/pyarrow/tests/test_gdb.py:179–191  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

177
178@pytest.fixture(scope='session')
179def gdb():
180 skip_if_gdb_unavailable()
181 gdb = GdbSession("-q", python_executable())
182 try:
183 gdb.wait_until_ready()
184 gdb.run_command("set confirm off")
185 gdb.run_command("set print array-indexes on")
186 # Make sure gdb formatting is not terminal-dependent
187 gdb.run_command("set width unlimited")
188 gdb.run_command("set charset UTF-8")
189 yield gdb
190 finally:
191 gdb.join()
192
193
194@pytest.fixture(scope='session')

Callers

nothing calls this directly

Calls 6

wait_until_readyMethod · 0.95
run_commandMethod · 0.95
joinMethod · 0.95
skip_if_gdb_unavailableFunction · 0.85
GdbSessionClass · 0.85
python_executableFunction · 0.85

Tested by

no test coverage detected