9.6 Micro Trace Buffer (MTB) Trace
Many Cortex®-M0+ based devices provide simple instruction trace support by integrating Arm® CoreSight™ Micro Trace Buffer (MTB) technology.
When MTB is enabled, the trace data is stored in a user-configurable circular on-chip trace buffer that is located in device RAM and shares it with the executed application. It is crucial to ensure that the MTB area in RAM is not used for the application variables, stack, and heap. Once the program is stopped, the debugger transfers the trace frames currently in the RAM to the MTB tab window.
For more details on MTB see the CoreSight MTB-M0+ Technical Reference Manual r0p1.