Delphi: why breakpoints from time to time are not usable (green highlighted line on IDE)?

前端 未结 20 1194
甜味超标
甜味超标 2020-11-29 08:25

From time to time I lose breakpoint functionality in Delphi.

I thought this to be a Delphi 2009 issue but now I have also it in Delphi XE.

In Delphi 2009 by

20条回答
  •  一生所求
    2020-11-29 08:52

    Although this is an old question I can confirm that this is still an issue in the current version of Delphi 10.3 Rio.

    The answer above regarding line endings

    https://stackoverflow.com/a/53360447/6445054

    Solved the issue for me I had imported some very old Delphi code which had CR line endings in a couple of places, as soon as I started moving code around the debugging broke completely.

    The option to turn line endings on has moved slightly in Rio it's now ( Tools - Options - Editor - Source - Show line breaks).

提交回复
热议问题