From b5ae8af5858319771b3ef4fa409e083559717992 Mon Sep 17 00:00:00 2001 From: martin Date: Mon, 2 Jul 2018 19:22:49 +0000 Subject: [PATCH] Debugger, IDE: avoid sending wrong break.location notification for watchpoints git-svn-id: trunk@58429 - --- debugger/debugger.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debugger/debugger.pp b/debugger/debugger.pp index ccf9a3cfdf..eb3329c231 100644 --- a/debugger/debugger.pp +++ b/debugger/debugger.pp @@ -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;