Description
The natvis template, and by extension the generated natvis file, contain stuff like:
<DisplayString Condition="m_type == nlohmann::detail::value_t::object">{*(m_value.object)}</DisplayString>
while basic_json stores both m_type and m_value in the m_data field. This obviously makes the natvis file not work.
Reproduction steps
Add the natvis file to your project and try to introspect any json value in the debugger.
Expected vs. actual results
Introspection based on natvis file is not used.
Minimal code example
No response
Error messages
No response
Compiler and operating system
Visual Studio 2022 Community Version 17.12.0 Preview 1.0, Windows 10
Library version
3.11.3
Validation
Description
The natvis template, and by extension the generated natvis file, contain stuff like:
while
basic_jsonstores bothm_typeandm_valuein them_datafield. This obviously makes the natvis file not work.Reproduction steps
Add the natvis file to your project and try to introspect any
jsonvalue in the debugger.Expected vs. actual results
Introspection based on natvis file is not used.
Minimal code example
No response
Error messages
No response
Compiler and operating system
Visual Studio 2022 Community Version 17.12.0 Preview 1.0, Windows 10
Library version
3.11.3
Validation
developbranch is used.