2.3.61. ERROR

Specifies what happens if an error occurs in processing an INCLUDE file.

Note

This command has no effect when running in command line mode.

Syntax

ERROR = {quit | abort | continue}

where:

quit

Instructs the debugger to quit the session and exit to the operating system.

abort

Instructs the debugger to return to command mode and wait for keyboard input.

continue

Instructs the debugger to abandon the command that produced the error, and to execute the next command in the INCLUDE file.

Description

The ERROR command specifies the action the debugger takes if an error occurs while processing an INCLUDE file. If you issue the ERROR command without parameters, program execution terminates.

The ERROR command runs asynchronously unless in a macro.

Example

The following example shows how to use ERROR:

error = abort

If an error occurs, abort reading the INCLUDE file and return to the command prompt.

See also

Copyright © 2002-2011 ARM. All rights reserved.ARM DUI 0175N
Non-ConfidentialID052111