Rendering a 2D array in the visual studio debugger

I am working with Visual Studio 2005 and have a 2D array (say my2Dvar) that I would like to see values ​​at runtime. I want to export these values ​​to Matlab. I tried to display the values ​​using ?my2DVar in the direct window. But the values ​​are not displayed correctly (array elements are displayed as {...}). I can hover over a variable and expand the characters with a small sign that appear to be looking at individual records, but the array is too large for me to do this for all records.

Question: Is there a way to export the values ​​of a 2D array to a file from which it can be easily read by other platforms? I would appreciate any help. Thank you for your time.

+4
source share
1 answer

If Visual Studio data visualizers do not process your custom data types by default, you can write your own visualizers for Visual Studio

+3
source

Source: https://habr.com/ru/post/1334731/


All Articles