Using vcpkg
I have compiled the mongo c++ lib “mongo-cxx-driver” GitHub - mongodb/mongo-cxx-driver: C++ Driver for MongoDB
while debugging i can see that it have added a "v_noabi"
namespace everywhere in the files, folders and also on the variables types (see image attached)
I’m trying to use the mongodb.natvis
to preview these variables values on the debugger
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<!--
NatVis Documentation:
https://docs.microsoft.com/en-us/visualstudio/debugger/create-custom-views-of-native-objects?view=vs-2017
Boost Visualizers:
https://marketplace.visualstudio.com/items?itemName=ArkadyShapkin.CDebuggerVisualizersforVS2017
https://github.com/KindDragon/CPPDebuggerVisualizers
To load in Visual Studio, the natvis file must be in the Visual Studio project.
Note: with buildscripts/setup_spawnhost_coredump, this file should be automatically placed in the user-specific Natvis directory.
https://learn.microsoft.com/en-us/visualstudio/debugger/create-custom-views-of-native-objects?view=vs-2022#BKMK_natvis_location
To load in WinDBG, run ".nvload mongdb.natvis"
-->
<Type Name="mongo::Status">
<DisplayString Condition="_error == 0x0">OK</DisplayString>
<DisplayString>{{Error={_error,d}}}</DisplayString>
</Type>
This file has been truncated. show original
but the natvis doesnt include the v_noabi
namespace.
What i’m missing? i need to compile the lib with this thing of v_noabi
disabled or what?