User manual

MPLAB
®
REAL ICE
In-Circuit Emulator User’s Guide
DS51616B-page 104 © 2008 Microchip Technology Inc.
FIGURE 11-1: WATCH WINDOW WITH UPDATE
Click on a diamond in the “Update” column to alternately set/remove data capture or a
runtime watch. Right click in the “Update” column to see data capture and runtime
watch options, or right click on a diamond to pop up a menu with options for only data
capture or a runtime watch.
For PIC18, PIC24, dsPIC30F and dsPIC33F devices, data captures and runtime
watches use the same resource. For more information, see Chapter 7. “Debug for 8-
and 16-Bit Devices
For PIC32MX devices, data captures and runtime watches use separate resources.
For more information, see Chapter 8. “Debug for 32-Bit Devices”.
11.3.10 Data Capture Properties Dialog
Select “Data Capture Properties” from the “Update” right click menu in the Watch win-
dow to see this dialog. The data capture properties dialog has the following options:
Address or symbol to capture - The data address (in hex) for capture as specified
in the Watch window.
When to capture entry - Specify if the capture happens on read or write from the X
bus.
Data capture can only be performed on register-sized variables.
For PIC18 MCUs, only byte-sized variables can be captured.
For dsPIC DSC/PIC24 devices, only 16-bit variables can be captured, such as
shorts and ints, but not floats and longs.
Update Menu
Data Capture Menu Runtime Watch Menu
Address, Symbol
Address and Symbol
name of item in the Watch window to which
data capture will apply.
Address, Symbol Address and Symbol
name of item in the Watch window to which
the runtime watch will apply
Set Data Capture – Enable data capture
function.
Set Runtime Watch – Enable runtime
watch function.
Remove Data Capture – Disable data
capture function.
Remove Runtime Watch – Disable runtime
watch function.
Data Capture Properties – Open the Data
Capture Properties Dialog.
N/A
Remove All Updates
– Disable all updates
(data captures and runtime watches).
Remove All Updates – Disable all updates
(data captures and runtime watches).
Data Capture
Runtime Watch
Note: The emulator simply displays data address (SFR) information that is sent
over the device ICE bus. Not all SFRs are on the device ICE bus, notably
SFRs in the core.