Debugger, IDE: avoid sending wrong break.location notification for watchpoints

git-svn-id: trunk@58429 -
This commit is contained in:
martin 2018-07-02 19:22:49 +00:00
parent b9a983f064
commit b5ae8af585

View File

@ -5038,8 +5038,8 @@ begin
if FMaster <> nil
then begin
// create without source. it will be set in assign (but during Begin/EndUpdate)
BP := FMaster.Add('', 0);
// create without data. it will be set in assign (but during Begin/EndUpdate)
BP := TBaseBreakPoint(FMaster.Add);
BP.Assign(ABreakPoint); // will set ABreakPoint.FMaster := BP;
end;
end;