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?
Forum Updated to NodeBB v4.3 + New Features

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.9k 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.
  • M Offline
    M Offline
    MartinChan
    wrote on 24 May 2016, 02:24 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
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 24 May 2016, 06:15 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 24 May 2016, 07:09
      0
      • M mrjj
        24 May 2016, 06:15

        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 24 May 2016, 07:09 last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • M mrjj
          24 May 2016, 06:15

          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 24 May 2016, 07:09 last edited by MartinChan
          #4

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

          M 1 Reply Last reply 24 May 2016, 07:12
          0
          • M MartinChan
            24 May 2016, 07:09

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

            M Offline
            M Offline
            mrjj
            Lifetime Qt Champion
            wrote on 24 May 2016, 07:12 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 24 May 2016, 07:23
            0
            • M mrjj
              24 May 2016, 07:12

              @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 24 May 2016, 07:23 last edited by
              #6

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

              M 1 Reply Last reply 24 May 2016, 07:31
              0
              • M MartinChan
                24 May 2016, 07:23

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

                M Offline
                M Offline
                mrjj
                Lifetime Qt Champion
                wrote on 24 May 2016, 07:31 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 24 May 2016, 07:34
                0
                • M mrjj
                  24 May 2016, 07:31

                  @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 24 May 2016, 07:34 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
                  • J Offline
                    J Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on 24 May 2016, 08:02 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 24 May 2016, 08:06
                    1
                    • J jsulm
                      24 May 2016, 08:02

                      Could be a limitation of the Microsoft debugger

                      M Offline
                      M Offline
                      MartinChan
                      wrote on 24 May 2016, 08:06 last edited by
                      #10

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

                      J 1 Reply Last reply 24 May 2016, 08:08
                      0
                      • M MartinChan
                        24 May 2016, 08:06

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

                        J Offline
                        J Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on 24 May 2016, 08:08 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 24 May 2016, 08:17
                        0
                        • J jsulm
                          24 May 2016, 08:08

                          @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 24 May 2016, 08:17 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
                          • J Offline
                            J Offline
                            jsulm
                            Lifetime Qt Champion
                            wrote on 24 May 2016, 08:18 last edited by
                            #13

                            Yes, just try

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

                            1 Reply Last reply
                            0

                            1/13

                            24 May 2016, 02:24

                            • Login

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