Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The IDE hangs when "|" is present in the source code. Is it a bug in Delphi XE8?

Whenever I type a "|" (vertical bar) in source editor, the Delphi IDE starts to hang.

I tried to add the "|" in my source code via notepad before opening my project with Delphi then it seems that the IDE is hanging while opening the project.

Example 1 (This will work):

procedure TForm8.FormCreate(Sender: TObject);
begin
  if 1 = 1 then
    ShowMessage('True');
end;

Example 2 (This will not work):

procedure TForm8.FormCreate(Sender: TObject);
begin
  if 1 = 1 then || "1" = "1" then //Whenever I start typing the "|", the IDE starts to hang.
    ShowMessage('True');
end;

Note: The Delphi IDE is not hanging with my project after I removed the "|" (vertical bar) in my source code through notepad (before opening the project with Delphi).

like image 387
Wennie Avatar asked Sep 23 '15 15:09

Wennie


1 Answers

Yes, this is a bug and unfortunately only fixed in the subscription update.

You need to turn off Castalia if you don't have that update.

like image 95
Stefan Glienke Avatar answered Oct 24 '22 05:10

Stefan Glienke