-
I wrote a unit test according to https://docs.zephyrproject.org/latest/develop/test/ztest.html#quick-start-unit-testing and now I want to debug it. If I use I tried adding So how can I debug unit tests? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Btw, I'm executing twister like so: |
Beta Was this translation helpful? Give feedback.
-
I found a workaround, but I don't think that this is the right way to go about this: Add Is this a bug in the build system for |
Beta Was this translation helpful? Give feedback.
-
Ok, nvm, I found out that this was fixed upstream in 1a16ace So the solution is: |
Beta Was this translation helpful? Give feedback.
Ok, nvm, I found out that this was fixed upstream in 1a16ace
So the solution is:
a) upgrade to a newer Zephyr version
b) plaster
set(CMAKE_BUILD_TYPE "Debug")
at the top of you tests'CMakeLists.txt