Keil Logo Arm Logo

µVision4 User's Guide

Debug Functions

Debug Functions are a powerful feature of µVision and help in debugging and testing an application. Debug functions can:

  • Extend the capabilities of the µVision Debugger.
  • Generate external interrupts.
  • Log memory contents to a file.
  • Update analog input values periodically.
  • Input serial data to an on-chip serial port.

Debug functions use a subset of the C programming language. The basic capabilities and restrictions are:

  • Flow control statements can be used in debug functions and operate as in ANSI C (if, else, while, do, switch, case, break, continue, and goto).
  • Local scalar variables are declared as in ANSI C.
  • Arrays are not allowed in debug functions.

This chapter contains the sections:

Note

  • µVision Debug Functions and functions of the target program are different. µVision Debug Functions aid in debugging the application and are created in the Command window or with the Function Editor. They are not part of the target application.

Keil logo

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.