microsoft / microsoft/MIEngine

Natvis failed to parse typename: nlohmann::basic_json

Open
#1,457 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
859
Forks
233
Avg merge
1d 6h
Merged PRs (30d)
3

Description

Example cpp: https://godbolt.org/z/jdbGr7TTo
Logs:

(7061) <-1066-var-create  - * "tmplt"
1: (7113) ->1066^done,name="var3",numchild="1",value="{...}",type="nlohmann::basic_json<std::__debug::map, std::__debug::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer, std::__debug::vector<unsigned char, std::allocator<unsigned char> > >",thread-id="1",has_more="0"
1: (7113) ->(gdb)
1: (7113) 1066: elapsed time 51
[Natvis] [Error] Natvis failed to parse typename: nlohmann::basic_json<std::__debug::map, std::__debug::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer, std::__debug::vector<unsigned char, std::allocator<unsigned char> > >

Contributor guide

No contributing guide indexed for this repository

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

Reproduce the failure with the C++ example at https://godbolt.org/z/jdbGr7TTo and inspect the logged Natvis typename parsing error for nlohmann::basic_json. Trace the Natvis parsing entry point from that failure; done means this typename is parsed without the reported error and the debugger can display the value.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.