How to create custom view of data in Clion debugger ?


How to create my own custom view of data in Clion debuger. For example i have own collection like std::vector, i need create a custom view of my custom bmstu::vector

CLion 2022.2.4 

I googled .natvis aka xml notation view, but not found how to resolve issue

1 comment
Comment actions Permalink


The solution would be to create custom pretty printers for LLDB and specify them in .lldbinit. Here is the instruction for Qt renders as an example -


Please sign in to leave a comment.