Create the correct derived TFpWatchPointData class for TDbgRspProcess.

This commit is contained in:
ccrause 2024-02-05 20:35:38 +02:00 committed by Martin
parent 86d90d47e5
commit a4832021a4

View File

@ -74,6 +74,7 @@ type
FRegArrayLength: integer;
function AnalyseDebugEvent(AThread: TDbgThread): TFPDEvent; override;
function CreateWatchPointData: TFpWatchPointData; override;
procedure InitializeLoaders; override;
// Insert/Delete break points on target
// TODO: if target doesn't support break points or have limited break points
@ -812,6 +813,11 @@ begin
end;
end;
function TDbgRspProcess.CreateWatchPointData: TFpWatchPointData;
begin
Result := TFpRspWatchPointData.Create;
end;
initialization
DBG_VERBOSE := DebugLogger.FindOrRegisterLogGroup('DBG_VERBOSE' {$IFDEF DBG_VERBOSE} , True {$ENDIF} );
DBG_WARNINGS := DebugLogger.FindOrRegisterLogGroup('DBG_WARNINGS' {$IFDEF DBG_WARNINGS} , True {$ENDIF} );