How to detect when a variable changes value

For a class or instance variable

  1. right-click on the variable in the outline view
  2. select “Toggle Watchpoint”
  3. Then, in the breapkoints view, you can right-click on the resulting
    entry
  4. select “breakpoint properties”
  5. deselect “Field Access”.

Leave a Comment