You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2022/01/20 17:50:00 UTC
[jira] [Resolved] (ARROW-12735) [C++][Dev] Write gdb plugin
[ https://issues.apache.org/jira/browse/ARROW-12735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Pitrou resolved ARROW-12735.
------------------------------------
Fix Version/s: 7.0.0
(was: 8.0.0)
Resolution: Fixed
Issue resolved by pull request 12092
[https://github.com/apache/arrow/pull/12092]
> [C++][Dev] Write gdb plugin
> ---------------------------
>
> Key: ARROW-12735
> URL: https://issues.apache.org/jira/browse/ARROW-12735
> Project: Apache Arrow
> Issue Type: Wish
> Components: C++, Developer Tools
> Reporter: Antoine Pitrou
> Assignee: Antoine Pitrou
> Priority: Major
> Labels: pull-request-available
> Fix For: 7.0.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> One common issue when using gdb with Arrow is that it's non-trivial to explore and display Arrow data and metadata using built-in gdb functionality. One usually needs lots of hand typing of expressions.
> One way to alleviate this would be to write a gdb plugin giving a higher-level view of Arrow C++ objects. This should be possible using the gdb Python API (though not trivial):
> https://sourceware.org/gdb/current/onlinedocs/gdb/Python.html#Python
> A simple example:
> https://github.com/nlohmann/json/tree/develop/third_party/gdb_pretty_printer
> A sophisticated example of this is the gdb plugin for Python itself:
> https://github.com/python/cpython/blob/main/Tools/gdb/libpython.py
> Related:
> https://interrupt.memfault.com/blog/gdbundle-plugin-manager
> https://github.com/memfault/gdbundle
--
This message was sent by Atlassian Jira
(v8.20.1#820001)