diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 11:19:16 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-07-24 09:53:24 +0000 |
commit | b5f8ee61a7f7e9bd291dd26b0585d03eb686c941 (patch) | |
tree | d4d31289c39fc00da064a825df13a0b98ce95b10 /ml/dlib/tools/visual_studio_natvis | |
parent | Adding upstream version 1.44.3. (diff) | |
download | netdata-b5f8ee61a7f7e9bd291dd26b0585d03eb686c941.tar.xz netdata-b5f8ee61a7f7e9bd291dd26b0585d03eb686c941.zip |
Adding upstream version 1.46.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ml/dlib/tools/visual_studio_natvis')
-rw-r--r-- | ml/dlib/tools/visual_studio_natvis/README.txt | 12 | ||||
-rw-r--r-- | ml/dlib/tools/visual_studio_natvis/dlib.natvis | 51 |
2 files changed, 0 insertions, 63 deletions
diff --git a/ml/dlib/tools/visual_studio_natvis/README.txt b/ml/dlib/tools/visual_studio_natvis/README.txt deleted file mode 100644 index f766ac0c1..000000000 --- a/ml/dlib/tools/visual_studio_natvis/README.txt +++ /dev/null @@ -1,12 +0,0 @@ -Hi Davis, -thanks for your work on dlib! - -I have created a natvis file to have nicer debugger visualization of dlib matrices in Visual Studio (2012 - …) and I just wanted to share it with you. - -To test it, copy the file into you folder %USERPROFILE%\My Documents\Visual Studio 2015\Visualizers or %VSINSTALLDIR%\Common7\Packages\Debugger\Visualizers as described here https://msdn.microsoft.com/en-us/library/jj620914.aspx - -It’s certainly extendable, especially to include it into image watch, but currently it may help users to debug much faster. - -Feel free to share it. -Best, - Johannes Huber diff --git a/ml/dlib/tools/visual_studio_natvis/dlib.natvis b/ml/dlib/tools/visual_studio_natvis/dlib.natvis deleted file mode 100644 index 0c1c52060..000000000 --- a/ml/dlib/tools/visual_studio_natvis/dlib.natvis +++ /dev/null @@ -1,51 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?>
-<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
- <!-- dlib matrix debugger visualization in Visual Studio-->
- <!-- Johannes Huber, SAFEmine Part of Hexagon -->
- <!-- no warranty -->
-
- <!-- general dlib::matrix fixed size-->
- <Type Name="dlib::matrix<*,*,*,*>">
- <DisplayString>{{ size= <{$T2}> x <{$T3}> }}</DisplayString>
- <Expand>
- <ArrayItems>
- <Size>$T2 * $T3</Size>
- <ValuePointer>($T1*)data.data</ValuePointer>
- </ArrayItems>
- </Expand>
- </Type>
-
- <!-- general dlib::matrix fixed rows-->
- <Type Name="dlib::matrix<*,0,*,*>">
- <DisplayString>{{ size={data.nr_} x <{$T2}> }}</DisplayString>
- <Expand>
- <ArrayItems Condition="data.data != 0">
- <Size>data.nr_ * $T2</Size>
- <ValuePointer>($T1*)data.data</ValuePointer>
- </ArrayItems>
- </Expand>
- </Type>
-
- <!-- general dlib::matrix fixed cols-->
- <Type Name="dlib::matrix<*,*,0,*>">
- <DisplayString>{{ size= <{$T2}> x {data.nc_} }}</DisplayString>
- <Expand>
- <ArrayItems Condition="data.data != 0">
- <Size>$T2 * data.nc_</Size>
- <ValuePointer>($T1*)data.data</ValuePointer>
- </ArrayItems>
- </Expand>
- </Type>
-
- <!-- general dlib::matrix dynamic size-->
- <Type Name="dlib::matrix<*,0,0,*>">
- <DisplayString>{{ size= {data.nc_} x {data.nc_} }}</DisplayString>
- <Expand>
- <ArrayItems Condition="data.data != 0">
- <Size>data.nr_*data.nc_</Size>
- <ValuePointer>($T1*)data.data</ValuePointer>
- </ArrayItems>
- </Expand>
- </Type>
-
-</AutoVisualizer>
\ No newline at end of file |