Debugging¶
External Resources¶
Debugging common application problems with TI-RTOS video presentation on training.ti.com.
Enabling Logging from the AWS sources¶
In AWS logging is controlled by the following flags that can be enabled/disabled based on the amount of logging data desired:
ENABLE_IOT_DEBUG
- Prints debugging information.ENABLE_IOT_TRACE
- Prints function entry and exit information.ENABLE_IOT_INFO
- Prints information.ENABLE_IOT_WARN
- Prints warnings.ENABLE_IOT_ERROR
- Prints errors.
These may be enabled by defining the corresponding flag in the compiler’s predefined symbols. Likewise, logging may be disabled by removing the corresponding flag from the compiler’s predefined symbols.
Examples in the Plugin have the following flags enabled by default: ENABLE_IOT_DEBUG
, ENABLE_IOT_INFO
, ENABLE_IOT_WARN
and ENABLE_IOT_ERROR
. To get more logging information during debugging the ENABLE_IOT_TRACE
flag should be enabled as well.