User manual

Emulator Function Summary
© 2008 Microchip Technology Inc. DS51616B-page 105
Data captures use the same resources as breakpoints, so the maximum available num-
ber of breakpoints applies to the maximum number of available data captures and
breakpoints. As an example, if 4 breakpoints are available, and two breakpoints are set,
up to two data captures may be set also.
If Native trace is used, then data captures cannot be used because of hardware
constraints. However, breakpoints are still available.
11.3.11 Trace Window
View trace information in this window (View>Trace). See Section 7.3.3.1 “Native
Trace” for more on tracing.
Traced code or variable values are visible in the top half of the window.
Line – trace line number (not the line number in corresponding source code)
Address – address of the program counter when trace/log was accessed
Value – value of traced item, if applicable
For each trace item selected/highlighted, the corresponding code line will be shown in
the bottom half of the window, if “Show Source” has been selected.
Trace Window Menu
Below are the menu items in the Trace window right click menu.
Close
Close this window.
Find
Opens the Find dialog. In the Find What field, enter a string of text you want to find, or
select text from the drop-down list. You can also select text in the edit window or place
the cursor over a word you want to search for, before you open the Find dialog.
In the Find dialog you may select any of the available options and the direction you
want to search. Up searches backward from the insertion point, Down searches
forward.
Find Next
Find the next instance of Find text.
<F3> repeats the last Find.
<Shift> + <F3> reverses the direction of the last Find.