dbg Macro DefinitionsMacros for debugging.
| General-Purpose Asserts | ||
|---|---|---|
NN_ASSERT
|
Tests whether conditions are satisfied. | |
NN_ASSERTMSG
|
Tests whether conditions are satisfied. Displays the specified message when conditions are not satisfied. | |
NN_ASSERTMSG_WITH_RESULT
|
Tests whether conditions are satisfied. Displays the specified result values and message when conditions are not satisfied. |
|
| Asserts for Particular Conditions | ||
NN_ALIGN_ASSERT
|
Tests whether the specified alignment conditions are satisfied. | |
NN_EQUAL_ASSERT
|
Tests whether the specified values are equal. | |
NN_FLOAT_ASSERT
|
Tests whether the specified value is a valid floating point value. | |
NN_MIN_ASSERT
|
Tests whether a value is equal to or greater than the specified value. | |
NN_MAX_ASSERT
|
Tests whether a value is equal to or less than the specified value. | |
NN_MINMAX_ASSERT
|
Tests whether a value is within the specified range. | |
NN_NOT_EQUAL_ASSERT
|
Tests whether a value is not equal to the specified value. | |
NN_NULL_ASSERT
|
Tests whether a value is not NULL. |
|
NN_POINTER_ASSERT
|
Tests whether the specified pointer has a valid address. | |
NN_THIS_ASSERT
|
Tests whether this is a valid address. |
|
NN_RESULT_ASSERT
|
Tests whether Result represents success. |
|
| Compile-Time Asserts | ||
NN_COMPILER_ASSERT
|
Tests whether compile-time conditions are satisfied. | |
| Error Termination | ||
NN_PANIC
|
Stops execution. | |
NN_PANIC_WITH_RESULT
|
Displays the value of Result and stops execution . |
|
NN_PANIC_IF_FAILED
|
Stops execution if Result does not indicate success. |
|
| Constants | ||
NN_DBG_PRINTF_BUFFER_LENGTH
|
The size of the buffer for NN_LOG. | |
| Debug Output | ||
NN_LOG
|
Outputs strings to the Debug window. | |
NN_LOGV
|
Outputs strings to the Debug window. It is possible to provide a variable argument list following the string format (string output format). | |
NN_PUT
|
Outputs strings to the Debug window. | |
| Result Utilities | ||
NN_DBG_CHECK_RESULT
|
Tests whether Result represents success. |
|
NN_DBG_PRINT_RESULT
|
Displays the value of Result. |
|
CONFIDENTIAL