10.3. Displaying the current execution context

If you have been performing many operations, including forcing scope, then you might not remember where you last set the current execution context. RealView Debugger enables you to determine the current execution context.

To display the current execution context, enter the CONTEXT command. The current execution context is displayed in the Output view, for example:

> context
Scoped to: (0x0000BF1C): STDIO\fflush

If the context is at the PC, and source exists at the PC, then the context also shows the location in your source, for example:

> context
At the PC: (0x00008000): STARTUP_S\__mainSource view: DHRY_1\main Line 78

See also:

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