mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 00:02:03 +02:00
IDE: added try..except for exceptions during start
git-svn-id: trunk@21077 -
This commit is contained in:
parent
8e63d7866a
commit
edd5d118b5
@ -103,7 +103,11 @@ begin
|
||||
|
||||
MainIDE:=TMainIDE.Create(Application);
|
||||
MainIDE.CreateOftenUsedForms;
|
||||
MainIDE.StartIDE;
|
||||
try
|
||||
MainIDE.StartIDE;
|
||||
except
|
||||
Application.HandleException(MainIDE);
|
||||
end;
|
||||
{$IFDEF IDE_MEM_CHECK}CheckHeapWrtMemCnt('lazarus.pp: TMainIDE created');{$ENDIF}
|
||||
|
||||
try
|
||||
|
Loading…
Reference in New Issue
Block a user