Keil Logo

Invoking Functions

Invoke and run debug function from the Command window. Type the function name and parameters into the command-line. For example, to run the printf built-in function enter the following text:

printf ("Hello World\n")

The µVision Debugger responds by printing the text "Hello World" to the output.

As an alternative, define a Toolbox button to invoke the function:

DEFINE BUTTON "Print HelloWorld", "printf (\"Hello World\\n\")"

Note

  • In case the invoked function generates an endless loop, then the debugger will not stop nor exit the debug session.

    To exit the endless loop:
    1. Position the cursor in the command-line of the window Command.
    2. Press ESC.
  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.