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. How could we get all the data of a big array in Debug Mode?
QtWS25 Last Chance

How could we get all the data of a big array in Debug Mode?

Scheduled Pinned Locked Moved Unsolved General and Desktop
13 Posts 3 Posters 2.8k Views
  • 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.
  • M Offline
    M Offline
    MartinChan
    wrote on last edited by
    #1

    I create a QString array in program,but I can't view all the content of this array in debug mode,you can only get first 100 value of this array like this ,how could I view the data after 100th??Pic is like this.

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      In Creator 3.6, win 7, Qt5
      it seems to show all ?

      What version / platform are you on.

      M 2 Replies Last reply
      0
      • mrjjM mrjj

        Hi
        In Creator 3.6, win 7, Qt5
        it seems to show all ?

        What version / platform are you on.

        M Offline
        M Offline
        MartinChan
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • mrjjM mrjj

          Hi
          In Creator 3.6, win 7, Qt5
          it seems to show all ?

          What version / platform are you on.

          M Offline
          M Offline
          MartinChan
          wrote on last edited by MartinChan
          #4

          @mrjj Qt5.6,win10,Qt Creator4.0.0(the lateset version),pic

          mrjjM 1 Reply Last reply
          0
          • M MartinChan

            @mrjj Qt5.6,win10,Qt Creator4.0.0(the lateset version),pic

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @MartinChan
            Ok, for test, could you make default project and try this code
            QList<QString> list;
            for (int var = 0; var < 200; ++var) {
            list.append(QString::number(var));
            }

            and then look at list in debugger and tell me if it also stops at 100.

            M 1 Reply Last reply
            0
            • mrjjM mrjj

              @MartinChan
              Ok, for test, could you make default project and try this code
              QList<QString> list;
              for (int var = 0; var < 200; ++var) {
              list.append(QString::number(var));
              }

              and then look at list in debugger and tell me if it also stops at 100.

              M Offline
              M Offline
              MartinChan
              wrote on last edited by
              #6

              @mrjj It is still doing that......pic

              mrjjM 1 Reply Last reply
              0
              • M MartinChan

                @mrjj It is still doing that......pic

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @MartinChan
                OK. I dont recall ever to have altered debugger settings for that so it must
                be either Creator version or debugger.

                Im using mingw , what compiler do u have?

                I will test when I come home, have same version there as you.

                M 1 Reply Last reply
                0
                • mrjjM mrjj

                  @MartinChan
                  OK. I dont recall ever to have altered debugger settings for that so it must
                  be either Creator version or debugger.

                  Im using mingw , what compiler do u have?

                  I will test when I come home, have same version there as you.

                  M Offline
                  M Offline
                  MartinChan
                  wrote on last edited by
                  #8

                  @mrjj Thx~~I'm using MSVC2015 compiler ,the version of my VS is Visual Studio 2015 Community.

                  1 Reply Last reply
                  0
                  • jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by jsulm
                    #9

                    Could be a limitation of the Microsoft debugger

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    M 1 Reply Last reply
                    1
                    • jsulmJ jsulm

                      Could be a limitation of the Microsoft debugger

                      M Offline
                      M Offline
                      MartinChan
                      wrote on last edited by
                      #10

                      @jsulm Maybe...= =It's time to use MinGW?Could it be some errors under MinGW environment but not under MSVC?

                      jsulmJ 1 Reply Last reply
                      0
                      • M MartinChan

                        @jsulm Maybe...= =It's time to use MinGW?Could it be some errors under MinGW environment but not under MSVC?

                        jsulmJ Offline
                        jsulmJ Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

                        @MartinChan "Could it be some errors under MinGW environment but not under MSVC?" - what do you mean? Which compiler to use really depends on what you want to do. If you use libraries compiled using Microsoft compiler then you have to use same compiler. Else you can use MinGW.

                        https://forum.qt.io/topic/113070/qt-code-of-conduct

                        M 1 Reply Last reply
                        0
                        • jsulmJ jsulm

                          @MartinChan "Could it be some errors under MinGW environment but not under MSVC?" - what do you mean? Which compiler to use really depends on what you want to do. If you use libraries compiled using Microsoft compiler then you have to use same compiler. Else you can use MinGW.

                          M Offline
                          M Offline
                          MartinChan
                          wrote on last edited by
                          #12

                          @jsulm :( really really sorry for my crappy English first.And it seems my project hasn't used any libraries which must use Microsoft compiler...So maybe I can try MinGW later...

                          1 Reply Last reply
                          0
                          • jsulmJ Offline
                            jsulmJ Offline
                            jsulm
                            Lifetime Qt Champion
                            wrote on last edited by
                            #13

                            Yes, just try

                            https://forum.qt.io/topic/113070/qt-code-of-conduct

                            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