Keil Logo

Trace Exceptions

The Trace Exceptions window displays statistical data about the traced exceptions and interrupts. 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:

Column Name Description
Num Exception Number (0..15 – Core Exceptions, 16.. – External Interrupts).
Name Exception Name.
Count Number of times an exception happened.
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 when this exception was first entered.
Last Time The time when this exception was last entered.

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 name for name extensions.

Note

  • The values Count, Total Time, and Min & Max Time In do not include the time consumed by higher priority exception interrupts that have occurred while servicing an interrupt. The time of the higher priority interrupt is accumulated in the statistics for that higher priority interrupt.
  • Exception Tracing can cause huge traffic if the MCU runs high frequency interrupts. The Trace 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.