Debugging Nested STL Containers in KDevelop

in KDevelop, when I debug a vector, I can see its contents. This is the result.

vector<int> v = {1,2,3};

enter image description here

but debugging the vector <vector <int → does not show its contents. This is the result.

vector< vector < int > > v = {{1,2,3}, {4,5,6}};

enter image description here

How can I debug nested STL containers?

+4
source share
1 answer

This is a known bug in KDevelop , which was fixed in version 4.7.0 .

+1
source

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


All Articles