EASTL icon indicating copy to clipboard operation
EASTL copied to clipboard

Natvis not parsing {nullptr}

Open redorav opened this issue 3 years ago • 0 comments

In any expression where the natvis wants to evaluate {nullptr} (note how it's in curly brackets), the natvis fails to show it properly. For example shared_ptr:

<DisplayString Condition="mpValue != nullptr">({(void*)mpValue} = {*mpValue})</DisplayString>
<DisplayString Condition="mpValue == nullptr">({nullptr})</DisplayString>

This is happening in Visual Studio 2019.

Removing the brackets (nullptr) makes it work again. Sounds like an easy fix and makes debugging much easier. Thanks!

redorav avatar Oct 21 '21 20:10 redorav