mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 14:36:09 +02:00
LazDebuggerFp: handle "ignored exceptions" list
git-svn-id: trunk@59655 -
This commit is contained in:
parent
12ea17499a
commit
895fe14aed
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user