My problem already arises in a program like
Qt Code:
  1. #include <QList>
  2. int main(int, char** ) {
  3. QList<int> ls;
  4. ls.append(10);
  5. ls.append(11);
  6. ls.append(12);
  7. la.append(13);
  8. for( int i = 0; i < 4; ++i ) qDebug("list[%d] %d", i, ls[i]);
  9. }
To copy to clipboard, switch view to plain text mode 
Compiled with
Qt Code:
  1. CONFIG += debug
To copy to clipboard, switch view to plain text mode 
the program runs as expected but at a gdb breakpoint on the for(... line I get
Qt Code:
  1. (gdb) p ls[1]
  2. Could not find operator[].
To copy to clipboard, switch view to plain text mode 

I believe I got most debug libraries.
In the real program a QList gives trouble but if I can't see what element is being processed I am lost.
What do I forget / do wrong?

Regards,
Enno