Visual Studio hangs when debug project with boost

I use Visual Studio 2022 community for development app on ubuntu 22.04. I use gcc 11.4 and cmake.

I create simple project with boost and use multi-index containers. Boost installed from repositories. When I try to debug code that uses the Boost step by step a window with an error appears

Undefined command: “d_index_node

and then Visual Studio hangs. If I start debugging and don’t set breakpoint or debug step by step through the error window does not appear. If I debug code that doesn’t use Boost, the error window does not appear.

Window with error.

I have no idea why it happens.

Read more here: Source link