Keil Logo

Creating Functions

µVision3 has a built-in debug function editor which opens with Debug — Function Editor. When you start the function editor, the editor asks for a file name or opens the file specified under Options for Target — Debug — Initialization File. The debug function editor works in the same way as the build-in µVision3 editor and allows you to enter and compile debug functions.

Function Editor Window

Refer to the Function Editor dialog help for more information on the dialog items.

Once you have created a file with µVision3 debug functions, you may use the INCLUDE command to read and process the contents of the text file. For example, if you type the following command in the command window, µVision3 reads and interprets the contents of MYFUNCS.INI.

>INCLUDE MYFUNCS.INI

MYFUNCS.INI may contain debug commands and function definitions. You may enter this file also under Options for Target — Debug — Initialization File. Every time you start the µVision3 debugger, the contents of MYFUNCS.INI will be processed.

Functions that are no longer needed may be deleted using the KILL command.

  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.