You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a lldb and gdb pretty printer for cuda::std::inplace_vector.
The printer should live under libcudacxx/share/libcudacxx/<debugger>/inplace_vector.py for each debugger.
In addition, the pretty printers should be exhaustively tested, with tests living under libcudacxx/test/debugging/inplace_vector. See the existing tests in that directory for inspiration.
Hi! I'd like to work on this one as a follow-up to #10090 (complex printers, PR #10563). Plan: add inplace_vector.py under libcudacxx/share/libcudacxx/gdb/ and libcudacxx/share/libcudacxx/lldb/, following the established pattern from #10528, plus exhaustive tests under libcudacxx/test/debugging/inplace_vector/. Unlike array, the element count here is runtime state, so the printers will read the stored size and display only the constructed elements of the raw storage — test cases will cover empty, partially-filled, full, capacity-0, and nested inplace_vectors.
Note: same environment caveat as #10090 — I'll validate the gdb printer locally; the lldb printer will mirror it structurally and rely on CI for verification.
Activity
HenrikGharagyozyan commentedon Jul 30, 2026
Hi! I'd like to work on this one as a follow-up to #10090 (complex printers, PR #10563). Plan: add
inplace_vector.pyunderlibcudacxx/share/libcudacxx/gdb/andlibcudacxx/share/libcudacxx/lldb/, following the established pattern from #10528, plus exhaustive tests underlibcudacxx/test/debugging/inplace_vector/. Unlikearray, the element count here is runtime state, so the printers will read the stored size and display only the constructed elements of the raw storage — test cases will cover empty, partially-filled, full, capacity-0, and nestedinplace_vectors.Note: same environment caveat as #10090 — I'll validate the gdb printer locally; the lldb printer will mirror it structurally and rely on CI for verification.