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. 开发者_JAVA技巧Update
It happens when you edit files outside the IDE. I do this a lot in BeyondCompare.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.
I had this problem before and I found out that a file with the same filename was being referenced by the IDE that had break points. So do a search for your file and make sure that another file with the same name is not being referenced also.
AFAIR breakpoints are stored in the project's .dsk file. So deleting that file should solve the issue. (I seem to remember that .dsk are in .ini Format so you might even be able to find out what causes the behaviour.)
I know its an old thread, but I found a workaround which might help and which is not directly mentioned here. If its a INT 3-Problem take a look at Embarcadero Quality Central Report #: 2030 (http://qc.embarcadero.com/wc/qcmain.aspx?d=2030). This problem is still not solved in Rad studio XE !!
Still hasn't been solved in Rad Studio 10.4 (using c++). I deleted the .dsk and .local files and it cleared the breakpoint.
精彩评论