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 7a8c57d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/modm/architecture/interface/assert.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,10 @@ 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
Additionally, these assertions are only active in `profile=debug` (more about
profiles: [scons](https://modm.io/reference/module/modm-build-scons/#scons),
[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()`
Expand Down

0 comments on commit 7a8c57d

Please sign in to comment.