Skip to content

Commit

Permalink
[docs] Add a reference to "profile=debug" in assert.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TomSaw committed Jun 29, 2024
1 parent 781b958 commit 00703e0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/modm/architecture/interface/assert.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,8 @@ if (not is_ok) {
}
```

Additionally, these assertions are only active in debug mode. Of course they
still evaluate and return the condition in release mode, so you can use them
just as above:
Additionally, these assertions are only active in profile=debug. See here for ([scons](https://modm.io/reference/module/modm-build-scons/#scons) or [make](https://modm.io/reference/module/modm-build-make/#make). Of course they
still evaluate and return the condition in profile=release, so you can use them just as above:

4. `bool modm_assert_continue_fail_debug()`
5. `bool modm_assert_continue_ignore_debug()`
Expand Down

0 comments on commit 00703e0

Please sign in to comment.