Customized object debug view

Answered

In visual studio, you can write a plug-in to display customized debug information of an object at debugging time. Is there any way in Clion to do so as well?

 

For example, TNT::Array2D<double> mat(3,3);   https://math.nist.gov/tnt/examples.html

mat is a 3*3 matrix but Clion doesn't know how to display it. 

0
2 comments

Hi! I assume that TNT::Array2D<double> is a dynamic 2D array (which is array of arrays)? Please see the related comment in the issue, the link to which I've already shared with you, and another related issue - https://youtrack.jetbrains.com/issue/CPP-8533. Feel free to comment or upvote.

0

Don't want to type (double[3][3] **) all the time therefore wondering if there is integration/plugin that I can leverage. 

0

Please sign in to leave a comment.