LazDebuggerFp: handle "ignored exceptions" list

git-svn-id: trunk@59655 -
This commit is contained in:
martin 2018-11-25 20:00:38 +00:00
parent 12ea17499a
commit 895fe14aed

View File

@ -1615,6 +1615,7 @@ var
ExceptionClass: string;
ExceptionMessage: string;
RegDxDwarfIndex: byte;
ExceptItem: TBaseException;
begin
// Using regvar:
// In all their wisdom, people decided to give the (r)dx register dwarf index
@ -1633,6 +1634,14 @@ begin
ExceptionMessage := ReadAnsiString(AnExceptionObjectLocation+DBGPTRSIZE[FDbgController.CurrentProcess.Mode]);
end;
ExceptItem := Exceptions.Find(ExceptionClass);
if (ExceptItem <> nil) and (ExceptItem.Enabled)
then begin
continue := True;
exit;
end;
DoException(deInternal, ExceptionClass, AnExceptionLocation, ExceptionMessage, continue);
end;