Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Forum Updated on Feb 6th

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

    General and Desktop
    3
    13
    2159
    Loading More Posts
    • 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
      MartinChan last edited by

      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 Reply Quote 0
      • mrjj
        mrjj Lifetime Qt Champion last edited by

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

        What version / platform are you on.

        M 2 Replies Last reply Reply Quote 0
        • M
          MartinChan @mrjj last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • M
            MartinChan @mrjj last edited by MartinChan

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

            mrjj 1 Reply Last reply Reply Quote 0
            • mrjj
              mrjj Lifetime Qt Champion @MartinChan last edited by

              @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 Reply Quote 0
              • M
                MartinChan @mrjj last edited by

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

                mrjj 1 Reply Last reply Reply Quote 0
                • mrjj
                  mrjj Lifetime Qt Champion @MartinChan last edited by

                  @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 Reply Quote 0
                  • M
                    MartinChan @mrjj last edited by

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

                    1 Reply Last reply Reply Quote 0
                    • jsulm
                      jsulm Lifetime Qt Champion last edited by jsulm

                      Could be a limitation of the Microsoft debugger

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

                      M 1 Reply Last reply Reply Quote 1
                      • M
                        MartinChan @jsulm last edited by

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

                        jsulm 1 Reply Last reply Reply Quote 0
                        • jsulm
                          jsulm Lifetime Qt Champion @MartinChan last edited by

                          @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 Reply Quote 0
                          • M
                            MartinChan @jsulm last edited by

                            @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 Reply Quote 0
                            • jsulm
                              jsulm Lifetime Qt Champion last edited by

                              Yes, just try

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

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post