Using the Debugger
Controlling Program Execution
Controlling Program Execution
One of the main functions of the debugger is to provide a way to control execution of the
program running on the target.
To control program execution:
1. Load the program to debug
a. If you launched the debugger from a project in the CodeWarrior IDE, the debugger
automatically loads the program ( .abs or .elf file)
b. If the debugger does not contain the application that you want to debug:
? From the debugger main menu, select File > Load Application
? Specify the location of the executable file ( .abs or .elf file)
? Click Open — debugger loads the application you specified
2. From debugger main menu, select Run
3. Select the action that you want the debugger to perform.
Table 5.1 describes the commands that control execution.
Table 5.1 Program Execution Commands
Command
Start/Continue
Restart
Halt
Single Step
Step Over
Description
Starts or continues execution of the loaded application from the
current program counter (PC). Execution continues until the
debugger encounters a breakpoint, a runtime error occurs, or the
execution is halted.
Starts execution of the loaded application from the application entry
point.
Interrupts and halts a running application. You can examine the state
of each variable in the application, set breakpoints, watchpoints, and
inspect source code while the application is halted.
If the application is halted, performs a single step at the source level.
Execution continues until the debugger reaches the next source
reference. If the current statement is a procedure call, the debugger
"steps into" that procedure. The Single Step command does not treat
a function call as one statement, which is why it steps into the
function.
Performs a single step at the source level. but does not step into
called functions. The debugger executes function call as if it were
one statement.
Freescale In-Circuit Emulator Base User Manual, Rev. 1.1
Freescale Semiconductor
65
相关PDF资料
FT24C02A-5LR-T IC EEPROM 2KBIT 1MHZ SOT23-5
FT24C16A-UMR-B IC EEPROM 16KBIT 1MHZ 8MSOP
FT24C256A-UMR-B IC EEPROM 256KBIT 1MHZ 8MSOP
FT24C512A-UDR-B IC EEPROM 512KBIT 1MHZ 8DIP
FT24C64A-UMR-B IC EEPROM 64KBIT 1MHZ 8MSOP
FT822AA IC LED DRVR PFC LOW TDH 8SOP
FT881A IC LED DRVR 30W 8SOP
FT93C46A-ITR-B IC EEPROM 1KBIT 2MHZ 8TSSOP
相关代理商/技术参数
FSICECBLBSA 功能描述:仿真器/模拟器 BUS ANALYZER CABLE RoHS:否 制造商:Blackhawk 产品:System Trace Emulators 工具用于评估:C6000, C5000, C2000, OMAP, DAVINCI, SITARA, TMS470, TMS570, ARM 7/9, ARM Cortex A8/R4/M3 用于:XDS560v2
FSICECBLBSAE 功能描述:仿真器/模拟器 BUS ANALYZER CABLE RoHS:否 制造商:Blackhawk 产品:System Trace Emulators 工具用于评估:C6000, C5000, C2000, OMAP, DAVINCI, SITARA, TMS470, TMS570, ARM 7/9, ARM Cortex A8/R4/M3 用于:XDS560v2
FSICEKITAP64 功能描述:仿真器/模拟器 FSICE EMULATOR KIT FOR 9 RoHS:否 制造商:Blackhawk 产品:System Trace Emulators 工具用于评估:C6000, C5000, C2000, OMAP, DAVINCI, SITARA, TMS470, TMS570, ARM 7/9, ARM Cortex A8/R4/M3 用于:XDS560v2
FSICEKITASAZ 功能描述:仿真器/模拟器 FSICE EMUL FOR 908ASAZ RoHS:否 制造商:Blackhawk 产品:System Trace Emulators 工具用于评估:C6000, C5000, C2000, OMAP, DAVINCI, SITARA, TMS470, TMS570, ARM 7/9, ARM Cortex A8/R4/M3 用于:XDS560v2
FSICEKITEY 功能描述:仿真器/模拟器 FSICE EMULATOR KIT FOR 9 RoHS:否 制造商:Blackhawk 产品:System Trace Emulators 工具用于评估:C6000, C5000, C2000, OMAP, DAVINCI, SITARA, TMS470, TMS570, ARM 7/9, ARM Cortex A8/R4/M3 用于:XDS560v2
FSICEKITGPGT 功能描述:仿真器/模拟器 FSICE EMULATOR KIT FOR 9 RoHS:否 制造商:Blackhawk 产品:System Trace Emulators 工具用于评估:C6000, C5000, C2000, OMAP, DAVINCI, SITARA, TMS470, TMS570, ARM 7/9, ARM Cortex A8/R4/M3 用于:XDS560v2
FSICEKITGRGZ 功能描述:仿真器/模拟器 FSICE EMULATOR KIT FOR 9 RoHS:否 制造商:Blackhawk 产品:System Trace Emulators 工具用于评估:C6000, C5000, C2000, OMAP, DAVINCI, SITARA, TMS470, TMS570, ARM 7/9, ARM Cortex A8/R4/M3 用于:XDS560v2
FSICEKITJB8 功能描述:仿真器/模拟器 FSICE EMUL FOR 908JB8 RoHS:否 制造商:Blackhawk 产品:System Trace Emulators 工具用于评估:C6000, C5000, C2000, OMAP, DAVINCI, SITARA, TMS470, TMS570, ARM 7/9, ARM Cortex A8/R4/M3 用于:XDS560v2