NVIDIA / NVIDIA/cccl

[FEA]: Debugger pretty-printers: `cuda::std::optional`

Open
#10,093 3 comments 0 reactions 0 assignees View on GitHub
good first issue help wanted libcu++
Dominant language
C++
Stars
2.5k
Forks
486
Avg merge
2d 6h
Merged PRs (30d)
295

Description

Create a `lldb` and `gdb` pretty printer for `cuda::std::optional`.

The printer should live under `libcudacxx/share/libcudacxx//optional.py` for each debugger.

In addition, the pretty printers should be exhaustively tested, with tests living under `libcudacxx/test/debugging/optional`. See the existing tests in that directory for inspiration.

Contributor guide

Open the contributing guide

Research direction

Read the existing tests under libcudacxx/test/debugging/optional and use them as the model for coverage. Add the lldb and gdb printers under libcudacxx/share/libcudacxx//optional.py, then extend the optional tests until both printers are exhaustively tested.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.