AnsweredAssumed Answered

assert() behaviour

Question asked by Randy Hermes on Oct 2, 2015
Latest reply on Jul 23, 2019 by Massimiliano Francone

KDS 3.0

SDK 1.2

Using MQX


I'm using assert() to check some parameter ranges.


When it is triggered it drops into a infinite loop and nothing is output on the debug console.

There isn't any source for the actual assert function that I can find, so I can't determine how to get it to print out an error message.

And yes, I'm working with a debug image (DEBUG is defined).


I bet I'm missing some compiler define, but I can't find it documented anywhere.


Can anyone help?