Hey Benoit,
Thank you for the quick answer but I still can't make it work... I've been using other .natvis in my project so I know where to place it but I only see this (like the lua_State attributes "top, ci, func" are not recognized):
<Type Name="lua_State">
<DisplayString>stack top = {top-(ci->func+1),d}</DisplayString>
</Type>
I did a quick test to demonstrate that my file is being executed properly:
<Type Name="lua_State">
<DisplayString>Test1</DisplayString>
</Type>
I don't know if it makes a difference but I'm using Visual Studio 2017.
Thanks,
Simon