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
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
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.Qt Code:
qDebug("Your desired value");To copy to clipboard, switch view to plain text mode
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
Last edited by .:saeed:.; 4th August 2010 at 20:59.
Bookmarks