List index out of range问题如何解决



  • 接手了一个代码很长的项目,在调试的时候跳出一个错误:ASSERT failure in QList<T>::at: “index out of range”,我已经知道这是数组访问越界造成的,但是Qt creator不会跳到出错的list的代码处,所以我不知道是哪一个list出现错误,这种情况请问该怎么解决。


Log in to reply
 

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