User manual

Using the Emulator as a Debugger
© 2006 Microchip Technology Inc. DS51616A-page 31
Step Out
Not available.
Reset F6
Issue a Reset sequence to the target processor. This issues a MCLR
to reset the
program counter to the Reset vector.
Breakpoints
Open the Breakpoint dialog (see Section 5.7.1 “Breakpoints Dialog”). Set multiple
breakpoints in this dialog.
Triggers
Set up real-time data capture triggers (see Section 5.7.7 “Triggers Dialog”).
Program
Download your code to the target device.
Read
Read target memory. Information uploaded to MPLAB IDE.
Erase Flash Device
Erase all Flash memory.
Abort
Abort any programming operation (e.g., program, read, etc.) Terminating an operation
will leave the device in an unknown state.
Settings
Open the Programmer dialog (see Section 4.8 “Settings Dialog”). Set up program
and firmware options.
5.6.2 Right Mouse Button Menu
The following will appear on the right mouse menus in code displays, such as program
memory and source code files:
Log Selected Value
Log the value of the highlighted variable in the trace window. See
Section 5.5.5 “Setting Up Trace in MPLAB IDE”.
Insert Line Trace
Log the occurrence of the selected line in the trace window. See
Section 5.5.5 “Setting Up Trace in MPLAB IDE”.
Set/Remove Breakpoint
Set or remove a breakpoint at the currently selected line.
Enable/Disable Breakpoint
Enable or disable a breakpoint at the currently selected line.
Breakpoints
Remove, enable or disable all breakpoints.
Note: You may also right click or double click on a line of code to set a simple
breakpoint.