[
https://issues.apache.org/jira/browse/ARROW-5565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16861847#comment-16861847
]
Antoine Pitrou commented on ARROW-5565:
---------------------------------------
I don't think you need "env" in that command? However you need the actual
executable to appear as first argument, e.g.:
{code}
gdb --args python -m pytest pyarrow/tests/test_array.py
{code}
> [Python] Document how to use gdb when working on pyarrow
> --------------------------------------------------------
>
> Key: ARROW-5565
> URL: https://issues.apache.org/jira/browse/ARROW-5565
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Python
> Reporter: Wes McKinney
> Priority: Major
> Fix For: 0.14.0
>
>
> It may not be obvious to new developers how to set breakpoints in the C++
> libraries when driven from Python. The incantation is slightly abstruse, for
> example
> {code}
> $ gdb --args env py.test pyarrow/tests/test_array.py -k scalars_mixed_type
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)