We have a long Do loop for our program in which we have put a counter to see the stage of process.
counter=0;Do[
a program; counter+=counter;
Print[counter]
,{i,1,10^6}];
But we do not want to have a cell devoted to each counter when it is printed. If this happens, we will have 10^6 cells below each other which consume a huge space in a notebook of Mathematica. Actually we wish to have a temporary printing process. Of course, the running program takes a long time to be done and we do not need Pause[nSeconds] that is emphasized in the Mathematica documents. We just want to see temporarily the counter once the program finished in every iteration! We have seen this link and this link but they do not work for us efficiently.

Monitor, or skipPrintand createDynamic @ counterbefore running the loop. – Kuba May 31 '17 at 06:44Monitor[Dynamic@j, Do[j = i + 1, {i, 1, 40}]]? – Unbelievable May 31 '17 at 06:49