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:
joost 2014-04-20 10:33:15 +00:00
parent 9e98a99cc7
commit 5cbd21f02c

View File

@ -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;