mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 17:09:21 +02:00
FpDebug: Fix pause on linux
git-svn-id: trunk@63067 -
This commit is contained in:
parent
bb08a7b8cb
commit
3370955c2b
@ -1365,13 +1365,14 @@ begin
|
||||
deBreakpoint:
|
||||
begin
|
||||
// If there is no breakpoint AND no pause-request then this is a deferred, allready handled pause request
|
||||
continue := (FCurrentProcess.CurrentBreakpoint = nil) and (CurWatch = nil) and (not HasPauseRequest);
|
||||
continue := (FCurrentProcess.CurrentBreakpoint = nil) and (CurWatch = nil);
|
||||
if (not continue) and assigned(OnHitBreakpointEvent) then begin
|
||||
if (CurWatch <> nil) then
|
||||
OnHitBreakpointEvent(continue, CurWatch);
|
||||
if assigned(FCurrentProcess.CurrentBreakpoint) then
|
||||
OnHitBreakpointEvent(continue, FCurrentProcess.CurrentBreakpoint);
|
||||
HasPauseRequest := False;
|
||||
if not continue then
|
||||
HasPauseRequest := False;
|
||||
end;
|
||||
end;
|
||||
deExitProcess:
|
||||
|
Loading…
Reference in New Issue
Block a user