IDE: Don't throw exception in PropHookShowMethod either. Prevent message dialog and potential high CPU load. Issue #41019.

This commit is contained in:
Juha 2024-07-13 10:18:18 +03:00
parent e1dc061107
commit bf3e9835f1

View File

@ -13373,7 +13373,7 @@ begin
end else begin
DebugLn(['Error: (lazarus) TMainIDE.PropHookShowMethod failed finding the method in code']);
DoJumpToCodeToolBossError;
raise Exception.Create(lisUnableToShowMethod+' '+lisPleaseFixTheErrorInTheMessageWindow);
//raise Exception.Create(lisUnableToShowMethod+' '+lisPleaseFixTheErrorInTheMessageWindow);
end;
end;