Search code examples
delphiidebreakpointsdelphi-xe

I cannot disable a (ghost) breakpoint


I have an IDE break point (delphi-xe) that keeps reappearing every time I compile and run the program. How do I get rid of it. Where does Delphi keep the information about breakpoints?

Updates:
1. The break point is not listed in 'Breakpoints' panel.
2. I have disabled the breakpoint (it is not gray) using right click but the program still stops on that line.
3. I have deleted the line and the breakpoint moved above.


Update
It happens when you edit files outside the IDE. I do this a lot in BeyondCompare.


Solution

  • This has been a bug in Delphi since at least Delphi 7.

    Workaround: Delete all breakpoints or disable breakpoint from breakpoint window.

    Workaround 2: Delete .dsk files and .local files.