SyntaxFix
Write A Post
Hire A Developer
Questions
You can use a watchpoint for this (A breakpoint on data instead of code).
You can start by using watch i. Then set a condition for it using condition <breakpoint num> i == 5
watch i
condition <breakpoint num> i == 5
You can get the breakpoint number by using info watch
info watch