microsoft / microsoft/vscode-cpptools

Add default Natvis for GCC STL

Open
#10,993 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

debugger Feature Request
Dominant language
TypeScript
Stars
6.2k
Forks
1.7k
Avg merge
14h 46m
Merged PRs (30d)
61

Description

Feature Request

As you know, cppvsdbg has default Natvis for STL unlike cppdbg GCC. I would like to suggest adding a default visualizer for GCC STL in case when "visualizerFile" isn't set in launch.json.

Here is my Natvis file for GCC STL (I tested it with GCC 12 and 13): https://gist.github.com/yhsb2k/5c56887cd6d8f06f54846fa11c613748

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.

Research direction

Start by reviewing the Natvis file linked in the issue and the launch.json visualizerFile behavior for cppdbg. Trace where default visualizers are selected, then verify that the GCC STL visualizer is used when visualizerFile is unset without changing explicit configurations.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.