![]() |
Event Recorder and Component Viewer
Version 1.5.1
MDK Debugger Views for Status and Event Information
|
The following steps enable the MDK debugger views for static information of software components.
For User Code:
For MDK Middleware, Keil RTX5, and FreeRTOS:
The software packs for MDK Middleware, CMSIS, CMSIS-FreeRTOS already contain the relevant *.SCVD files.
For examples on how to write SCVD files, refer to the Examples section.
The *.SCVD file can be used to format static information of the application using the /component_viewer/objects.
Example code that is stored in the file MyTest.c (the file name is important for static variables).
The following MyTest.scvd file reads static program information from the variables in the above code snippet:
In the µVision Debugger this *.SCVD file is specified in the dialog Options for Target -> Debug -> Manage Component Viewer Description Files. Click on Add Component Viewer Description File and add the related .SCVD file.
Using the SCVD file, µVision debugger shows static information about the program. The related view opens with View - Watch Windows - MyProgram.