Put a Condition into a Breakpoint, Condition will be checked against the value and if it matched Breakpoint will allow it to enter into Debugging of that line of code.
Conditional methods allow developers to create methods whose calls can be placed in the code and then either included or omitted during compilation based on a preprocessing symbol.
for(int i=0;i<100;i++)
{
Console.WriteLine(i);
}
Now put a debugger on Console.WriteLine(i);
Right click on the same and you will find condition option there, so u can put your condition there
Hope this will help you.
Let say u have a for loop
For(int i=0;i<100;i )
{
//some code
}
Now you want to stop the dbugger point when i=30
In that scanario we can use conditions to stop debugger @30