| |||
| Home > Changing the Execution Context > About changing the execution context > Methods of forcing scope | |||
Program scope is determined by the PC value. If you want to change the program scope, you can force scope by setting it to an entry on the Call Stack.
Forcing scope does not change the PC.
When you force scope to a location, RealView Debugger:
Places a filled blue arrow at that location.
Issues the CLI command SCOPE, and displays the following message in the Output pane:
> scopecontextScoped to: (address):module\function
You can also use the CLI command CONTEXT to display the current scope location.
Stepping changes scope to the location that is stepped to.
Alphabetical command reference in the RealView Debugger Command Line Reference Guide for details of the CONTEXT and SCOPEcommands.