We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am trying to set a breakpoint when a variable becomes a certain value. Ideally I want to set a breakpoint at a specific line number and check for the condition at that specific line like you can in eclipse. At the moment I am trying to set a conditional breakpoint with the configuration below. Index is local to the function I am currently stopped in and I get the error message below with an error of "invalid expression type" in the command line.
When I make the variable index a global variable it works, although it takes an extremely long time to reach a value of 255.
Is there a way to make a conditional breakpoint at a specific line number? Also is there a way to make a conditional breakpoint with a variable that isn't global that I am missing?