Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/debug_views.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ To add a condition to an existing breakpoint:
#### Triggered breakpoints

A triggered breakpoint is type of conditional breakpoint that is enabled once another breakpoint is hit. They can be useful
when diagnosing failure cases in code that happen only after a certain precondition.
when diagnosing failure cases in code that happens only after a certain precondition.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
when diagnosing failure cases in code that happens only after a certain precondition.
when diagnosing failure cases in code that happen only after a certain precondition.

I think the original version is correct. Refers to cases, not code.


Triggered breakpoints can be set by right-clicking on the glyph margin, selecting **Add Triggered Breakpoint**, and then
choosing which other breakpoint enables the breakpoint.
Expand All @@ -163,7 +163,7 @@ choosing which other breakpoint enables the breakpoint.
Inline breakpoints are only hit when the execution reaches the column associated with the inline breakpoint. This is useful
when debugging minified code, which contains multiple statements in a single line.

An inline breakpoint can be set using **Shift + F9** or through the context menu during a debug session. Inline breakpoint
An inline breakpoint can be set using **Shift + F9** or through the context menu during a debug session. Inline breakpoints
are shown inline in the editor.

Inline breakpoints can also have conditions. Editing multiple breakpoints on a line is possible through the context menu in
Expand Down Expand Up @@ -268,4 +268,4 @@ closing of quotes, and other language features.
The following example shows how to check the currently set breakpoints with the `> info break` command. Afterwards, the
application is run with the `> continue` command.

![Entering GDB commands in the Debug Console REPL](./images/entering_gdb_commands.gif)
![Entering GDB commands in the Debug Console REPL](./images/entering_gdb_commands.gif)
Loading