Setting a breakpoint for the AddInts() function

About this task

To set a breakpoint for the AddInts() function:

Procedure

  1. Double-click the AddInts() function in the Visual C++ Class view.
  2. Right-click the following line of code:
    Gen_RetVal = Int1 + Int2;
  3. Choose Insert > Breakpoint.