See Breakpoint Address(es)

To see the address of a breakpoint before and during a debug session, complete the following steps:

  1. 1.Under Tools>Options, Embedded button, Generic Settings tab, select an action for “On mouseover source lines in editor, evaluate break point status.”
  2. 2.Set a line breakpoint.
  3. 3.Click the Debug Project icon to debug your code.
  4. 4.Place the cursor between a breakpoint icon and the beginning of source code, and perform the action of step 1 to see the mouseover.

Single Breakpoint Address

In many cases, you will see a single address. Open a program/execution memory window (Window>Target Memory Views) to see the memory address and instructions at that location.

Figure 1. See Breakpoint Address

Multiple Breakpoint Addresses

In some cases, you will see multiple possible breakpoint locations. A possible cause for this could be higher compiler optimizations (-Os). Previous to MPLAB X IDE v5.20, only the first address was shown. Now all addresses are.

Open a program/execution memory window (Window>Target Memory Views) to see each memory address and instructions at that location. If your breakpoint is not working, you can select other locations in the memory window. When the breakpoint hits, it will still show at the same line number in code.

Figure 2. See Multiple Breakpoint Addresses