Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. What is my next step ?
Forum Updated to NodeBB v4.3 + New Features

What is my next step ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 182 Views 2 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.
  • A Offline
    A Offline
    Anonymous_Banned275
    wrote on last edited by
    #1

    OK, I get this run time error.
    It does not directly identify the offending code.

    It identifies QtCore/qlist.h, line 571 and last of my debug messages.
    I can find the debug message and set break point there and then step thru the code until I find code using "index"...
    Is that about right ?

    Any other suggestions are welcome.
    Cheers

    " TASK continue...void SettingsDialog::RunPairing()"
    ASSERT failure in QList<T>::at: "index out of range", file /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/include/QtCore/qlist.h, line 571
    11:32:50: /mnt/RAID_124/PROJECTS_May15_BASE_V2/mdi/MDI crashed.
    
    Christian EhrlicherC 1 Reply Last reply
    0
    • A Anonymous_Banned275

      OK, I get this run time error.
      It does not directly identify the offending code.

      It identifies QtCore/qlist.h, line 571 and last of my debug messages.
      I can find the debug message and set break point there and then step thru the code until I find code using "index"...
      Is that about right ?

      Any other suggestions are welcome.
      Cheers

      " TASK continue...void SettingsDialog::RunPairing()"
      ASSERT failure in QList<T>::at: "index out of range", file /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/include/QtCore/qlist.h, line 571
      11:32:50: /mnt/RAID_124/PROJECTS_May15_BASE_V2/mdi/MDI crashed.
      
      Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      https://forum.qt.io/topic/122717/debugging-index-out-of-range-suggestions-please-can-qt-ide-provide-more-help

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      Pl45m4P 1 Reply Last reply
      2
      • Christian EhrlicherC Christian Ehrlicher

        https://forum.qt.io/topic/122717/debugging-index-out-of-range-suggestions-please-can-qt-ide-provide-more-help

        Pl45m4P Offline
        Pl45m4P Offline
        Pl45m4
        wrote on last edited by
        #3

        @Christian-Ehrlicher

        Feels like: "I've been there... multiple times" :)

        @AnneRanch

        Somewhere in your code you are accessing an element from a QList which is not available (like 12th element out of a list from 0-10).

        index out of range

        This doesn't mean that you have a variable named index. It only tells you what happend.
        The index could be i or x or bananas.


        If debugging is the process of removing software bugs, then programming must be the process of putting them in.

        ~E. W. Dijkstra

        1 Reply Last reply
        1

        • Login

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