Search code examples
c++visual-studiodebuggingboost

View boost::multi_index_container data in debugger


I am attempting to investigate memory dump of the program which uses boost.multi_index library on Windows using Visual Studio. I have sources, executable and debug symbols corresponding to that memory dump. However, debugger can't show actual data stored in the multi_index container the same way as it does, for example, for std::map or std::vector. Installing this https://cppvisualizers.codeplex.com/ plugin did not help - still see only some internal data members without actual data. Multi-index I am trying to inspect has 2 hashed indices. Does anyone know how to get to the data based only on the raw values visible in the VS debugger?


Solution

  • Using Visual Studio 2017, the plugin "C++ Debugger Visualizers for VS2017" worked for me: https://marketplace.visualstudio.com/items?itemName=ArkadyShapkin.CDebuggerVisualizersforVS2017