Developing an Application
3.3.1
Editing Application Code
To view application code so that it may be edited, do one of the following:
? Select Edit>New to create new code or Edit>Open to search for and open an
existing code file.
? Double-click on a file in the Project window to open an existing code file. See an
example Project window in Figure 3-4.
FIGURE 3-4:
EXAMPLE PROJECT
For more information on using the editor to create and edit code, see MPLAB IDE
Editor Help.
3.3.2
Using Breakpoints and Mouseovers
To set a breakpoint in code, use one of the following methods:
? Double-Click in Gutter: Double-click in the window gutter next to the line of code
where you want the breakpoint. Double-click again to remove the breakpoint.
? Pop-up Menu: Place the cursor over the line of code where you want the break-
point. Then, right click to pop up a menu and select “Set Breakpoint”. Once a
breakpoint is set, “Set Breakpoint” will become “Remove Breakpoint” and “Disable
Breakpoint”. Other options on the pop-up menu under Breakpoints are for
deleting, enabling or disabling all breakpoints.
? Breakpoint Dialog: Open the Breakpoint dialog ( Debugger>Breakpoints ) to set,
delete, enable or disable breakpoints. See MPLAB IDE Help for more information
on this dialog.
A breakpoint set in code appears as a red “stop sign” with a “B”. Once code is halted,
hovering over variables pops up the current value of those variables (Figure 3-5).
Note:
? 2009 Microchip Technology Inc.
This feature must be set up. From the menu bar, select Edit>Properties ;
from the Properties dialog, select the Tooltips tab and then click the
checkbox for “Enable Variable Mouseover Values”.
DS51852A-page 19
相关PDF资料
DM183022 BOARD DEMO PIC18FXX22 64/80TQFP
DM183032 BOARD EXPLORER PICDEM PIC18
DM240001 BOARD DEMO PIC24/DSPIC33/PIC32
DM240002 BOARD DEV EXPLORER 16 44-PIN
DM240011 KIT STARTER MPLAB FOR PIC24F MCU
DM240021 KIT STARTER MPLAB FOR PIC24H
DM240311 BOARD DEV PIC24F16KA102 XLP
DM300018 BOARD DEMO DSPICDEM 2
相关代理商/技术参数
DM1800-434MB 功能描述:射频模块 DM1800 Base Station 433.92 MHz RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm
DM1800-434MN 功能描述:射频模块 DM1800 Field Node 433.92 MHz RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm
DM1800-434MN-V 功能描述:射频模块 Field Node w/ Host Ser Intr 433.92 MHz RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm
DM1800-434MR 功能描述:射频模块 DM1800 Network Router 433.92 MHz RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm
DM1800-434MR-PAH 功能描述:射频模块 DM1800 Pkg Router 433.92 MHz Horzt Mnt RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm
DM1800-434MR-PAV 功能描述:射频模块 DM1800 Pkg Router 433.92 MHz Vert Mnt RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm
DM1800-434MR-PBH 功能描述:射频模块 DM1800 Pkg Router 433.92 MHz Horzt Mnt RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm
DM1800-434MR-PBV 功能描述:射频模块 DM1800 Pkg Router 433.92 MHz Vert Mnt RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm