mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 23:30:30 +02:00
codetools: added RaiseAndCatchException
git-svn-id: trunk@28591 -
This commit is contained in:
parent
b5d35d3037
commit
336f855447
@ -315,6 +315,7 @@ function CfgStrToDate(const s: string; out Date: TDateTime): boolean;
|
||||
|
||||
// debugging
|
||||
procedure RaiseCatchableException(const Msg: string);
|
||||
procedure RaiseAndCatchException;
|
||||
|
||||
type
|
||||
TCTDbgOutEvent = procedure(const s: string);
|
||||
@ -433,6 +434,14 @@ begin
|
||||
if (length(Msg) div (length(Msg) div 10000))=0 then ;
|
||||
end;
|
||||
|
||||
procedure RaiseAndCatchException;
|
||||
begin
|
||||
try
|
||||
if (length(ctsAddsDirToIncludePath) div (length(ctsAddsDirToIncludePath) div 10000))=0 then ;
|
||||
except
|
||||
end;
|
||||
end;
|
||||
|
||||
var
|
||||
LineInfoCache: TAVLTree = nil;
|
||||
LastTick: int64 = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user