Skip to content

Commit 7a8c57d

Browse files
committed
[docs] Add a reference to "profile=debug" in assert.md
1 parent 781b958 commit 7a8c57d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/modm/architecture/interface/assert.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,10 @@ if (not is_ok) {
168168
}
169169
```
170170

171-
Additionally, these assertions are only active in debug mode. Of course they
172-
still evaluate and return the condition in release mode, so you can use them
171+
Additionally, these assertions are only active in `profile=debug` (more about
172+
profiles: [scons](https://modm.io/reference/module/modm-build-scons/#scons),
173+
[make](https://modm.io/reference/module/modm-build-make/#make)). Of course they
174+
still evaluate and return the condition in `profile=release`, so you can use them
173175
just as above:
174176

175177
4. `bool modm_assert_continue_fail_debug()`

0 commit comments

Comments
 (0)