How to stop an application, How to step in the application, On source level – Freescale Semiconductor Microcontrollers User Manual

Page 203

Advertising
background image

How To...

How to Stop an Application

203

Microcontrollers Debugger Manual

How to Stop an Application

There are two ways to stop program execution:

• Choose Run >Halt

• Click on the Halt icon in the debugger tool bar

HALTED in the status line indicates that execution has been stopped.

The blue highlighted line in the source component is the source statement at which the
program was stopped (next statement to be executed).

The blue highlighted line in the Assembly component is the assembler statement at which
the program was stopped (next assembler instruction to be executed).

Data window with attribute Global displays the name and values of the global variables
defined in the module where the currently executed procedure is implemented. The name
of the module is specified in the Data info bar.

Data window with attribute Local displays the name and values of the local variables
defined in the current procedure. The name of the procedure is specified in the Data info
bar.

How to Step in the Application

The Debugger provides stepping functions at the application source level and assembler
level (

Figure 6.2

).

On Source Level

Figure 6.2 Stepping at Source Level

Advertising