mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 09:39:31 +02:00
DBG: Improved: Cancel no longer required steps (continue next step)
git-svn-id: trunk@32392 -
This commit is contained in:
parent
d7418bc9aa
commit
1cb835eb35
@ -6027,6 +6027,8 @@ begin
|
||||
if i >= FCommandQueue.Count
|
||||
then i := FCommandQueue.Count - 1;
|
||||
end;
|
||||
if FCurrentCommand <> nil
|
||||
then FCurrentCommand.Cancel;
|
||||
end;
|
||||
|
||||
procedure TGDBMIDebugger.CancelBeforeRun;
|
||||
@ -6041,6 +6043,8 @@ begin
|
||||
if i >= FCommandQueue.Count
|
||||
then i := FCommandQueue.Count - 1;
|
||||
end;
|
||||
if (FCurrentCommand <> nil) and (dcpCancelOnRun in FCurrentCommand.Properties)
|
||||
then FCurrentCommand.Cancel;
|
||||
end;
|
||||
|
||||
procedure TGDBMIDebugger.CancelAfterStop;
|
||||
@ -6055,6 +6059,7 @@ begin
|
||||
if i >= FCommandQueue.Count
|
||||
then i := FCommandQueue.Count - 1;
|
||||
end;
|
||||
// do not cancel FCurrentCommand;
|
||||
end;
|
||||
|
||||
class function TGDBMIDebugger.ExePaths: String;
|
||||
|
Loading…
Reference in New Issue
Block a user