mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 06:18:21 +02:00
DBG: only set breakpoint in begin/end Update
git-svn-id: trunk@28334 -
This commit is contained in:
parent
615a8734ce
commit
2c0fe507c3
@ -1083,7 +1083,8 @@ begin
|
||||
|
||||
if FManager.FDebugger <> nil
|
||||
then begin
|
||||
BP := FManager.FDebugger.BreakPoints.Add(ABreakpoint.Source, TManagedBreakPoint(ABreakpoint).DebugExeLine);
|
||||
// create without source. it will be set in assign (but during Begin/EndUpdate)
|
||||
BP := FManager.FDebugger.BreakPoints.Add('', 0);
|
||||
BP.Assign(ABreakPoint);
|
||||
end;
|
||||
FManager.CreateSourceMarkForBreakPoint(ABreakpoint,nil);
|
||||
|
Loading…
Reference in New Issue
Block a user