You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (JIRA)" <ji...@apache.org> on 2019/06/12 08:03:00 UTC
[jira] [Commented] (ARROW-5565) [Python] Document how to use gdb
when working on pyarrow
[ 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)