xtensor icon indicating copy to clipboard operation
xtensor copied to clipboard

Visual Studio debug visualization (.natvis)

Open SoulSharer opened this issue 2 years ago • 2 comments

Decided to integrate xtensor library into my personal project, however found out that its hard to inspect tensors and arrays in without a natvis file. Does this project have one? Searched everywhere, seems there isn't one. I've written custom one, it is no way near perfect, but it works for me.

image

SoulSharer avatar Jul 26 '22 17:07 SoulSharer

Are you able to share it ?

DuncanM-XR avatar Jul 29 '22 09:07 DuncanM-XR

Just added a pull request https://github.com/xtensor-stack/xtensor/pull/2563, any improvements to it are more than welcome. I'm by no means expert at natvis files.

SoulSharer avatar Jul 29 '22 10:07 SoulSharer