Inspecting A Variable At Runtime

Inspect the value of a variable in a datatip to uncover a problem in the source code.

bullet
To inspect a variable at runtime
  1. Place a breakpoint in the method you want to investigate.

  2. Run the project.

  3. When execution stops, place the pointer on a variable that comes before the breakpoint.

    ../Art/inspect_variable_2x.png
  4. In the datatip that appears, inspect the current value of the variable.

You can also view the values of variables in the variables pane of the debug area.