Keil Logo

Trace Exceptions Window

The Exception Trace window shows statistical data of the exceptions captured in the trace buffer. Open the window through View - Trace - Trace Exceptions.

To display data in this window:

  • Enable Tracing outside this window.
  • Enable EXCTRC: Exception Tracing. (Is identical to setting the option in Trace Events.)
  • Enable Timestamps Enable. (Is identical to setting the option in Timestamps.)

Exception Trace Records Window

The columns have the following meaning:

Exception Data Description
Num Exception Number (0..15 – Core Exceptions; 16.. – External Interrupts).
Name Exception Name.
Count Number of times an exception triggered.
Total Time Total Time spent in this exception.
Min & Max Time In Minimum and maximum time spent in this exception.
Min & Max Time Out Minimum and maximum time spent out of this exception.
First Time The time this exception triggered first.
Last Time The time this exception triggered last.

Using the Window

  • Click Save to store the result in a comma-separated (*.csv) or tab-delimited (*.tab) file.
  • Click Clear to reset all counters.
  • Use the context menu for additional options.
  • Sort the rows by clicking the column header.
  • Hover the mouse over the counter name for name extensions.

Note

  • The Count, Total Time, and Min & Max Time In values do not include elapse times caused by higher priority interrupts interfering with lower priority interrupts. The time of the higher priority interrupt is accumulated in its own statistics.
  • Exception Tracing can cause huge traffic if the MCU runs high frequency interrupts. The Status Bar displays additional information.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.