Natvis equivalent debugging helpers for LLDB

Open
#115,406 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp, python

Research direction

Review the existing natvis visualizers for strings and arrays, then study Mono's data/lldb/mono.py as a reference for LLDB integration. Define the equivalent Python debugging helpers and verify that strings and arrays receive the intended nicer presentation in LLDB.

Written by the indexing model from the issue text.

Description

area-NativeAOT-coreclr

We ship natvis visualizers for strings/arrays on Windows so they look nicer in debuggers.

We should investigate making a Python script to do the same on LLDB.

Mono has https://github.com/mono/mono/blob/0f53e9e151d92944cacab3e24ac359410c606df6/data/lldb/mono.py.

Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/runtime

All issues in dotnet/runtime

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.