Debugger: fix calling abstract method "BelongsToInstance" on watchpoint. Introduced 4e4c402b62

This commit is contained in:
Martin 2022-08-05 16:23:36 +02:00
parent 5708b50487
commit f3bf79fa35

View File

@ -459,6 +459,7 @@ type
constructor Create(const AProcess: TDbgProcess; const ALocation: TDBGPtr; ASize: Cardinal; AReadWrite: TDBGWatchPointKind;
AScope: TDBGWatchPointScope); virtual;
destructor Destroy; override;
function BelongsToInstance(const AnInstance: TDbgInstance): Boolean; override;
procedure SetBreak; override;
procedure ResetBreak; override;
@ -3543,6 +3544,12 @@ begin
inherited Destroy;
end;
function TFpInternalWatchpoint.BelongsToInstance(const AnInstance: TDbgInstance
): Boolean;
begin
Result := False;
end;
procedure TFpInternalWatchpoint.SetBreak;
var
a: TDBGPtr;