Keil Logo

µVISION DEBUGGER: SAVE / RESTORE CODE COVERAGE INFORMATION


Information in this article applies to:

  • µVision Version 2.38 or higher
  • Cx51 Compiler Version 7 or higher

QUESTION

I need to validate a complex Smart Card Operating System. For software certification, I need a report showing that all paths in my program are fully executed. The nature of my system requires that I restart the debugger several times. Is there a way to save and restore code coverage information so that I can merge the results of several test sessions?

ANSWER

Yes. The µVision Debugger COVERAGE command has the additional options SAVE and RESTORE. These allow you to save the current code coverage status and restore this information in another debug session. For example:

  • COVERAGE \\task\module\function generates coverage information for a specific module or function.
  • COVERAGE DETAILS generates a detailed coverage report.
  • COVERAGE ASM includes assembler instructions in the coverage report.
  • COVERAGE SAVE saves current code coverage information to a file.
  • COVERAGE LOAD restores code coverage information from a file.

SEE ALSO

MORE INFORMATION

  • Refer to COVERAGE in the µVision User's Guide.

Last Reviewed: Tuesday, April 26, 2016


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  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.