Conditional Breakpoint

Let's say you are debugging the blocking version of the moving spectrum example presented here:

https://github.com/ECE2564-VT/example_blockingToNonblocking

However, you notice a bug that is happening when the frameIndex is greater than 10. You want to quickly go over the project execution until you reach that point. How can you do that? You will need a conditional breakpoint that stops your code only when a certain condition is met. Here are the steps you have to take:


If you were to debug the non-blocking version, frameIndex would have been a member of app struct. In that case, in step 5, you use 

app->frameIndex == 10 instead of frameIndex == 10.