qvector display contents in debug

  • I want to see all the elements in the vector when debugging.

     for (int i=0; i < 5000; i++)

    it says there are currently 5000 items but i can only see the first 100.

    m_xaxis	<5000 items>	QVector<int>
    m_yaxis	<5000 items>	QVector<double>

    what do i need to type in when i add a new evaluated expression to make it display the entire contents of the vector.


  • IIRC the number of displayed items depends on your debugger only.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.