How could we get all the data of a big array in Debug Mode?
-
wrote on 24 May 2016, 02:24 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.
-
-
wrote on 24 May 2016, 07:09 last edited byThis post is deleted!
-
wrote on 24 May 2016, 07:09 last edited by MartinChan
-
@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.
-
@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.
wrote on 24 May 2016, 07:23 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.
-
@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.
wrote on 24 May 2016, 07:34 last edited by@mrjj Thx~~I'm using MSVC2015 compiler ,the version of my VS is Visual Studio 2015 Community.
-
Could be a limitation of the Microsoft debugger
-
wrote on 24 May 2016, 08:06 last edited by
@jsulm Maybe...= =It's time to use MinGW?Could it be some errors under MinGW environment but not under MSVC?
-
@jsulm Maybe...= =It's time to use MinGW?Could it be some errors under MinGW environment but not under MSVC?
@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.
-
@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.
wrote on 24 May 2016, 08:17 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...
-
Yes, just try
1/13