AnsweredAssumed Answered

assert() behaviour

Question asked by Randy Hermes on Oct 2, 2015
Latest reply on Feb 12, 2016 by Carlos_Musich

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?

 

Thanks

Randy

Outcomes