mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-04 17:58:18 +02:00
LazDebuggerFp (pure): The first time the debuggee is paused use the state dsInit instead of dsPause.
git-svn-id: trunk@44766 -
This commit is contained in:
parent
9e98a99cc7
commit
5cbd21f02c
@ -217,7 +217,7 @@ end;
|
||||
|
||||
procedure TFPBreakpoint.DoStateChange(const AOldState: TDBGState);
|
||||
begin
|
||||
if (Debugger.State = dsPause) then
|
||||
if (Debugger.State in [dsPause, dsInit]) then
|
||||
begin
|
||||
if Enabled and not FIsSet then
|
||||
begin
|
||||
@ -666,7 +666,7 @@ end;
|
||||
procedure TFpDebugDebugger.FDbgControllerCreateProcessEvent(var continue: boolean);
|
||||
begin
|
||||
// This will trigger setting the breakpoints
|
||||
SetState(dsPause);
|
||||
SetState(dsInit);
|
||||
end;
|
||||
|
||||
function TFpDebugDebugger.RequestCommand(const ACommand: TDBGCommand;
|
||||
|
Loading…
Reference in New Issue
Block a user