Keil Logo

Creating Functions

Create, modify, and compile debug functions using the built-in debug function editor. When in debug mode, open the editor with the menu Debug — Function Editor. You are asked to enter a file name or the editor opens the initialization file specified in the field Options for Target — Debug — Initialization File. The content of this file is processed each time a debugging session is started.

Function Editor Window

Where

Open Opens and loads a file.
New Creates a new file.
Save Saves the file.
Save As Saves and renames a file.
Compile Compiles the code.
Compile Errors Displays errors found during the compilation. Errors are also displayed in the window Command.

Use the command INCLUDE during a debugging session to read and process the file. Debug functions defined in this file are available right away in the debugging process. Debug commands are executed while the file is parsed. For example:

>INCLUDE MYFUNCS.INI

Note

  • Use the command KILL to delete functions no longer needed in the debugging session.

See also:

  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.