STL.natvis: make_shared
and allocate_shared
are no longer visualized properly
#2787
Labels
make_shared
and allocate_shared
are no longer visualized properly
#2787
STL.natvis contains visualizers for
_Ref_count_obj
and_Ref_count_obj_alloc
:STL/stl/debugger/STL.natvis
Lines 396 to 401 in 9947dd9
STL/stl/debugger/STL.natvis
Lines 412 to 419 in 9947dd9
However, we've upgraded those control blocks (which is possible while preserving binary compatibility because
shared_ptr
performs type erasure). The modern forms are_Ref_count_obj2
and_Ref_count_obj_alloc3
, which we don't have visualizers for:STL/stl/inc/memory
Lines 2018 to 2019 in 9947dd9
STL/stl/inc/memory
Lines 2438 to 2439 in 9947dd9
Thus, while we intended for
make_shared
andallocate_shared
to be visualized in cool ways, this has been broken for a while.The text was updated successfully, but these errors were encountered: