Using the Debugger
Using Breakpoints And Watchpoints
choose Set Watchpoint from the menu that appears. Conditions are set in the same way as
breakpoints, but under the watchpoints tab in the controlpoints configuration dialog.
Setting Breakpoints on Lines of Code
To set a simple breakpoint on an executable line of code:
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 has not loaded the program that you want to debug:
? From the debugger main menu, select File > Load Application
? Specify the location of the executable program file ( .abs or .s19 file)
? Click Open — debugger loads the application you specified
2. In the Source window or in the Assembly window, place mouse cursor next to the
executable line of code where you want to set the breakpoint
3. Right-click mouse — menu appears
4. Select Set Breakpoint
The debugger sets a breakpoint on the line of code that you specified. A red arrow
appears (Figure 5.7) to the left of the line of code. The debugger halts execution the
next time that it encounters this breakpoint during execution.
Figure 5.7 Breakpoint in Source Window
breakpoint
To define a complex breakpoint:
1. From debugger main menu, select Run
2. Select Control Points — Controlpoints Configuration dialog opens (Figure 5.8)
Freescale In-Circuit Emulator Base User Manual, Rev. 1.1
Freescale Semiconductor
61
相关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