Closed
Description
Description
#844 added a debugger visualizer for Visual Studio.
#3590 introduced an inline namespace under which the basic_json type now lives.
Therefore the type name pattern in the natvis file
Line 3 in 0e61ee8
With the inline namespace regularly changing, it might be worthwhile to dynamically generate the natvis file from CMake using the same "algorithm" for the type name pattern as implemented with the macros in the source code.
Reproduction steps
Create a nlohmann::json
instance, fill it with some data, and break with Visual Studio debugger to inspect the object instance.
Expected vs. actual results
Actual: visualizer not active
Expected: visualizer provides pretty printing
Minimal code example
No response
Error messages
No response
Compiler and operating system
Visual Studio
Library version
3.11.1
Validation
- The bug also occurs if the latest version from the
develop
branch is used. - I can successfully compile and run the unit tests.