codetools: added RaiseAndCatchException

git-svn-id: trunk@28591 -
This commit is contained in:
mattias 2010-12-02 12:32:06 +00:00
parent b5d35d3037
commit 336f855447

View File

@ -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;