Unsolved 关于Qt调试的问题,如何高效调试
-
在Qt调试过程中,经常会出现无法找到问题源头的问题。比如我在调试一个程序过程中,跳出一个错误:ASSERT failure in QList<T>::at: “index out of range”。造成这个原因是我的一个list访问越界了,但是我的代码里有很多的list,我根本不知道是哪一个list出错了,遇到这种问题该怎么办?
-
Duplicate of https://forum.qt.io/topic/90607/list-index-out-of-range问题如何解决. Locking.
Also I gave you the answer in your english thread here:
https://forum.qt.io/topic/90608/how-to-find-the-source-of-problem-qlist-t-at-index-out-of-range