How to see all elements of a two dimensional array in Visual Studio 2010?

前端 未结 4 669
长情又很酷
长情又很酷 2021-02-19 00:04

I\'m debugging my c++ code in Visual Studio 2010 and want to see the content of my array, say Q, which is 17x17. When I insert a breakpoint and try to debug, I see only the vari

4条回答
  •  我在风中等你
    2021-02-19 01:07

    If you want to see the values organized in 2D in a more graphical way, you can try the Array Visualizer extension. It works fine with small multidimensional arrays.

    It is a free, open source extension which can be downloaded via MarketPlace. It is designed to display arrays while debugging an application. There are versions for visual studio 2010, 2012, 2013 and 2015, unfortunatelly it seems not to have been updated to 2017.

提交回复
热议问题