Article ID: 171065
Article Last Modified on 12/10/2003
// File name test.cpp
#include <iostream.h>
int main()
{
cout << "Start debugging" << endl;
for( int i = 0; i < 100; ++i )
cout << i << "\n"; //SET A BREAKPOINT HERE
return 0;
}
Set a breakpoint on the line shown and press the F5 key (Debug Go). The
debugger will stop at this line of code. The Auto window will show the
value of i to be 0. Press the F5 key. Again, the debugger stops at the
breakpoint and the value of i is shown to be 1.
Keywords: kbbug kbfix kbnoupdate kbide kbdebug KB171065