What does this icon mean in Delphi code editor?

Viewed 220

In Delphi 10.2.3, I've recently started seeing this weird icon; does anyone know what it means? I am talking about the red circle with a minus sign in it.

Screenshot of a line of code: "property Halt: Boolean read FHalt write FHalt". At the end of the line, there is an icon: a red circle with a white minus sign inside it.

1 Answers

This icon is supposed to inform you that the current line calls the Halt system procedure.

You get similar icons with Continue, Break, and Exit:

Screenshot of editor window with Continue, Break, Exit, and Halt symbols

In this case, you have a property with the unfortunate name Halt, so the editor confuses this with the Halt system procedure.

It is a bad idea to use this property name.

Related