Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Chinese
  4. 关于Qt调试的问题,如何高效调试
Forum Updated to NodeBB v4.3 + New Features

关于Qt调试的问题,如何高效调试

Scheduled Pinned Locked Moved Unsolved Chinese
2 Posts 2 Posters 3.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hoaeixpz
    wrote on last edited by
    #1

    在Qt调试过程中,经常会出现无法找到问题源头的问题。比如我在调试一个程序过程中,跳出一个错误:ASSERT failure in QList<T>::at: “index out of range”。造成这个原因是我的一个list访问越界了,但是我的代码里有很多的list,我根本不知道是哪一个list出错了,遇到这种问题该怎么办?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      ambershark
      wrote on last edited by ambershark
      #2

      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

      My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved