Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STL.natvis: move_iterator visualizer should use _Current, not current #4829

Closed
StephanTLavavej opened this issue Jul 11, 2024 · 0 comments · Fixed by #4836
Closed

STL.natvis: move_iterator visualizer should use _Current, not current #4829

StephanTLavavej opened this issue Jul 11, 2024 · 0 comments · Fixed by #4836
Labels
bug Something isn't working fixed Something works now, yay! visualizer How the VS debugger displays STL types

Comments

@StephanTLavavej
Copy link
Member

STL/stl/inc/xutility

Lines 4149 to 4152 in ef1d621

_EXPORT_STD template <class _Iter>
class move_iterator : public _Move_iterator_category<_Iter> {
private:
_Iter _Current{};

STL/stl/debugger/STL.natvis

Lines 1522 to 1527 in ef1d621

<Type Name="std::move_iterator&lt;*&gt;">
<DisplayString>move_iterator {current}</DisplayString>
<Expand>
<Item Name="current">current</Item>
</Expand>
</Type>

And traditionally, we've used Name="[current]" to indicate that we're displaying a pretty name for an ugly data member.

Regression introduced by #1080 on 2020-07-27 in VS 2019 16.8.

Reported by @xiangfan-ms.

@StephanTLavavej StephanTLavavej added bug Something isn't working visualizer How the VS debugger displays STL types labels Jul 11, 2024
@StephanTLavavej StephanTLavavej added the fixed Something works now, yay! label Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed Something works now, yay! visualizer How the VS debugger displays STL types
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant