Menu: [Right-click a breakpoint]-> Condition
Version: 255.2010
Do you know? You can set breakpoints with conditions. This is quite powerful among the various breakpoints you have created. Using them wherever appropriate will give you more efficiency.
Let's open the breakpoint condition dialog box. Note that you can disable conditional filtering by selecting the checkbox. In addition, you have two options for this condition:
"True" is a Boolean expression that can be true or false.
"Change?" As it said-it stops when the condition changes.
For example, I have the following "for" Loop
True
I can set a simple "true" condition, that is, when I> 5, it stops.
When I> 5
"Has changed"
This is very interesting. Generally, you need to track the changes of some content. In this example, I only observe the changes of I.
When the breakpoint is hit and the value of "I" has changed in any way then the code stops:
Remarks
When you set an advanced breakpoint, the breakpoint icon changes accordingly.
You can place the mouse over a breakpoint to view the type of the breakpoint,
Or open the breakpoint window to view