Have you ever felt the need of hitting a breakpoint when a condition is true. Well VS.Net does a good job on that regard.
Say we want to hit a break point if the value of variable, say a == 1.
Here are the steps of doing it.
Put a Breakpoint on the line of code and Right Click on the breakpoint.
Select Condition, which results in the following screen.
Over here you need to give the condition as,
Thats it.
Till then Happy Coding !