Any chance to inspect an array in CLion debug?

Answered

Assume I am inspect a variable as double* ds. How may I get something like "ds,10" to show as[0]~as[9] as in the visual studio? Thanks!

0
2 comments

Anyone has any idea? missing (double*)ds, 10 in the visual studio watch window.

0

Hi, Patrick!

It works for regular arrays:

For pointer variables we have a feature request: https://youtrack.jetbrains.com/issue/CPP-6550, feel free to comment or upvote. In the comments you can find a workaround for GDB.

0

Please sign in to leave a comment.