Invisible break points

Discussion in 'Embedded Systems and Microcontrollers' started by GoodmanMotor, Mar 17, 2014.

  1. GoodmanMotor

    Thread Starter New Member

    Mar 15, 2014
    I am using MPLAB for me embedded systems project. I am new to MPLAB and C language in general. I was trying to program some code for PIC32 and i was putting some break points to see the program working until a certain moment. Once i removed the break points, the program still reacted as they were there, and all the processes were stopping.
    I would like to ask for the suggestion on how to remove those invisible break points.
  2. shteii01

    AAC Fanatic!

    Feb 19, 2010
    * Remove the break points. (Which you did.)

    * "Build"/compile the program.
  3. Markd77

    Senior Member

    Sep 7, 2009
    If the project file is broken, just create a new project and copy the code across. Hopefully it doesn't happen too often.
  4. JohnInTX


    Jun 26, 2012
    Also try:

    If you are using an external debugger - re-initialize it to make sure its talking to MPLAB then remove breakpoints:

    MPLAB 8.x - Click Debugger -> Reconnect
    Hit F2 to bring up the breakpoint window then click Remove All

    MPLABX - Debug->Disconnect From Debug Tool then Re-Connect
    Alt-Shift-5 to bring up the breakpoint window. Do CTRL-A to select all then hit Del to delete them.

    Good luck.
  5. ErnieM

    AAC Fanatic!

    Apr 24, 2011
    I've seen something like this in MPLAB (no X). Hit F2 to bring up the breakpoint menu. You may just see a list of the phantom breakpoints.

    Highlight each one and delete.