Hi,
How do I inspect the value of variables during running/debugging time? For example, if I have a tridimensional array, how can I check if all the entries are correctly calculated?
Cheers
Printable View
Hi,
How do I inspect the value of variables during running/debugging time? For example, if I have a tridimensional array, how can I check if all the entries are correctly calculated?
Cheers
hello:o
Excuse me , I can't write, speak ,... English very well.
If you are using visual studio, It is quite simple, use 'Watch window' or 'Auto Window',
Debug > Windows > Watch
Debug > windows > autos
and if you are using Creator you can use 'Locals and watching'.
and in both, you can write
this statement will print the string to output window.Code:
qDebug("Your desired value");
You can also use Memory window in visual studio. simply ,You enter the address of your variable and the memory window will show you Memory values around your entered address. It is better for arrays that has been created using new operator.
NOW, You help me for learning ENGLISH, Say My MISTAKES:D;)