-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Closed
Labels
kind: bugsolution: proposed fixa fix for the issue has been proposed and waits for confirmationa fix for the issue has been proposed and waits for confirmation
Milestone
Description
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
- The bug also occurs if the latest version from the
develop
branch is used. - I can successfully compile and run the unit tests.
Metadata
Metadata
Assignees
Labels
kind: bugsolution: proposed fixa fix for the issue has been proposed and waits for confirmationa fix for the issue has been proposed and waits for confirmation