µVision User's GuideAbout µVision User Interface Creating Applications Utilities Debugging Using the Debugger Simulation Start Debugging Application Program Execution Debug Windows and Dialogs Breakpoints Window Call Stack and Locals Window Code Coverage Command Window Disassembly Window Event Viewer Logic Analyzer Setup Setup in Detail Restrictions Memory Map Memory Window Performance Analyzer Registers Window Serial Window Symbols Window System Viewer System and Thread Viewer Thread States Toolbox Watch Window Expressions Constants System Variables Peripheral Variables I/O Ports Serial Ports Program Variables (Symbols) Fully Qualified Symbols Non-Qualified Symbols Literal Symbols Using Symbols Line Numbers Bit Addresses Type Specifications Operators Memory Type Specifiers Differences between µVision and C Expression Examples Tips and Tricks Review Peripherals and CPU Configuration Simulate I/O Ports Simulate Interrupts and Clock Inputs Simulate external I/O Devices Assign Serial I/O to a PC COM Port Check Illegal Memory Access Command Input from File Preset I/O Ports or Memory Contents Write Debug Output to a File Keyboard Shortcuts Prevent Opening Files Debug Commands Debug Functions Simulation Flash Programming Dialogs Example Programs Command Line Appendix
The Event Viewer displays thread, interrupt, and exception execution over time. To display the timing information it uses trace information generated by Cortex-M3, M4, M7 devices and requires a suitable debug adapter, for example ULINKpro.
Prerequisites for using the Event Viewer
Open the window with Debug - OS Support - Event Viewer.
Load... imports the thread- and exception-switching history previously saved in a file (*.UVTSK). Data can be analyzed off-line.
Save... stores the thread- and exception-switching history in a file (*.UVTSK) for future analysis.
? opens this help.
Time fields show:
Zoom buttons change the time scale:
Update Screen buttons control the screen output.
Jump to buttons synchronize the event with:
Transition buttons snap the Reference Line to the next transition point. Highlight a thread name and click:
All Threads graph
The All Threads graph shows event-switching occurrences with a blue X.
Blue opening brackets < (left red circle in the picture) indicate event-switching occurrences that cannot be resolved on the graphical scale. You can zoom-in at those points to view detailed event switches.
The red opening bracket < (right red circle in the picture) indicates event-switching occurrences that cannot be resolved on the graphical and time scale. Zooming in at those points will not deliver details on the time scale. The events are shown as if occurred at the same time. This is due to lack of timing information. Select a smaller number for Timestamps Prescaler in Options for Target - Debug - Settings - Trace.
Additional mouse and key commands
of your data.