This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Issues Using Conditional Breakpoint

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?