MPLAB ? REAL ICE ? In-Circuit Emulator User’s Guide
5.5.7
Disabling Trace
To disable the trace capability:
1. Remove all trace and log macros from code.
2. Select Project>Build Options>Project , Trace tab. Uncheck “Enable Instrumented
Trace”. Click OK .
3. Rebuild the project ( Project>Build All ).
4. Reprogram the device ( Debugger>Program ).
To temporarily disable trace transport:
? Select Project>Build Options>Project , Trace tab. Select “Off” for Transport. Click
OK .
5.6
DEBUGGING FUNCTIONS
When you select the MPLAB REAL ICE in-circuit emulator from the Debugger menu,
debug items will be added to the following MPLAB IDE functions:
5.6.1
Debugger Menu
Run F9
Execute program code until a breakpoint is encountered or until Halt is selected.
Execution starts at the current program counter (as displayed in the status bar). The
current program counter location is also represented as a pointer in the Program
Memory window. While the program is running, several other functions are disabled.
Animate
Animate causes the debugger to actually execute single steps while running, updating
the values of the registers as it runs.
Animate runs slower than the Run function, but allows you to view changing register
values in the Special Function Register window or in the Watch window.
To Halt Animate, use the menu option Debugger>Halt , the toolbar Halt or <F5>.
Halt F5
Halt (stop) the execution of program code. When you click Halt, status information is
updated.
Step Into F7
Single step through program code.
For assembly code, this command executes one instruction (single or multiple cycle
instructions) and then halts. After execution of one instruction, all the windows are
updated.
For C code, this command executes one line of C code, which may mean the execution
of one or more assembly instruction, and then halts. After execution, all the windows
are updated.
Note:
Do not step into a SLEEP instruction.
Step Over F8
In C code, steps over the current line of code.
DS51616A-page 30
? 2006 Microchip Technology Inc.
相关PDF资料
AC2626M6 PROBE TEMP 6" GENERAL PURP
AC300024 MOTOR STEPPER 2PHASE 8WIRE
AC300030 KIT ACOUSTIC ACCESSORY
ACM-16 CABLE MODULE FR3 16BIT 40-DIP
ACM-2X8 ACTIVE CABLE MODULE DUAL 8 BIT
ACM-8 CABLE MODULE FR3 8BIT 28/32-DIP
ACS9510EVB EVALUATION BOARD FOR ACS9510
ACS9550EVB EVALUATION BOARD FOR ACS9550
相关代理商/技术参数
AC244007 制造商:Microchip Technology Inc 功能描述:MPLAB REAL ICE JTAG ADAPTER - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:ADAPTER MPLAB REAL ICE JTA 制造商:Microchip Technology Inc 功能描述:ADAPTER, MPLAB, REAL, ICE, JTAG 制造商:Microchip Technology Inc 功能描述:ADAPTER, MPLAB, REAL, ICE, JTAG; Accessory Type:JTAG adaptor Board; For Use With:Microchip PIC32MX devices; SVHC:No SVHC (19-Dec-2012) ;RoHS Compliant: Yes
AC244008 功能描述:处理器配件 MPLAB REAL ICE Power Monitor RoHS:否 制造商:Olimex Ltd. 产品:Cable 用于:
AC244022 功能描述:插座和适配器 Procs Extnsn Pak for PIC24FJ128GA010-ICE RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
AC244022 制造商:Microchip Technology Inc 功能描述:Processor Extension Pak for PI
AC244023 功能描述:插座和适配器 PROCESSOR EXTNSN PAK FOR PIC18F1xK50 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
AC244024 功能描述:插座和适配器 Processor Ext Pak for PIC18LF14K50 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
AC244026 功能描述:插座和适配器 Processor Ext Pak (PIC16F727-ICE) 200K RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
AC244027 功能描述:插座和适配器 Processor Ext Pak (PIC16LF727-ICE)200K RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x