C++

Objectives :

  • Debug : Step (F7), Step Over (F8) and Watch
     

Step: 1 Create a a source file as shown in this document . Then follow the illustration to use debug:watch operation to view the value assigned to an integer variable.

 

Add the name of the variable

Watch the value of "n1" using F8 (Step Over operation)

Later when out of scope, it displays n1=??