Skip to content

Commit 1a3a7fd

Browse files
authored
Correct the context
1."he breakpoint" should be "the breakpoint" 2."hits to the to the associated line of code" should be "hits to the associated line of code".
1 parent a070cc6 commit 1a3a7fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/debugger/using-breakpoints.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ You can set breakpoints when you want to stop debugger execution, perhaps to see
166166

167167
![Breakpoint when changed](../debugger/media/breakpointwhenchanged.png "BreakpointWhenChanged")
168168

169-
The behavior of the When changed field is different for different programming languages. If you choose **When changed** for native code, the debugger doesn't consider the first evaluation of the condition to be a change, so the breakpoint won't be hit on the first evaluation. If you choose **When changed** for managed code, he breakpoint is hit on the first evaluation after **When changed** is selected.
169+
The behavior of the When changed field is different for different programming languages. If you choose **When changed** for native code, the debugger doesn't consider the first evaluation of the condition to be a change, so the breakpoint won't be hit on the first evaluation. If you choose **When changed** for managed code, the breakpoint is hit on the first evaluation after **When changed** is selected.
170170

171171
If you set a breakpoint condition with invalid syntax, a warning message appears. If you specify a breakpoint condition with valid syntax but invalid semantics, a warning message appears the first time the breakpoint is hit. In either case, the debugger breaks execution when the invalid breakpoint is hit. The breakpoint is skipped only if the condition is valid and evaluates to `false`.
172172

@@ -192,7 +192,7 @@ You can set breakpoints when you want to stop debugger execution, perhaps to see
192192
Note that Object IDs create weak references, and do not prevent the object from being garbage collected. They are valid only for the current debugging session.
193193

194194
## Hit Count
195-
If you suspect that a loop in your code starts misbehaving after a certain number of iterations, you can set a breakpoint to stop execution after a specified number of hits to the to the associated line of code, rather than being forced to repeatedly press **F5** to reach the iteration level.
195+
If you suspect that a loop in your code starts misbehaving after a certain number of iterations, you can set a breakpoint to stop execution after a specified number of hits to the associated line of code, rather than being forced to repeatedly press **F5** to reach the iteration level.
196196

197197
In the **Breakpoint Settings** window, set the condition to **Hit Count**. You can then specify the number of iterations. In the following example, we set the breakpoint to hit on every other iteration:
198198

0 commit comments

Comments
 (0)