Skip to content

Commit 042d03e

Browse files
royqh1979@gmail.comroyqh1979@gmail.com
royqh1979@gmail.com
authored and
royqh1979@gmail.com
committed
- enhancement: Can run/compile/debug while there is program running.
1 parent f5f7326 commit 042d03e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Source/main.pas

+3-1
Original file line numberDiff line numberDiff line change
@@ -4469,7 +4469,9 @@ procedure TMainForm.actDebugExecute(Sender: TObject);
44694469
if devExecutor.Running then begin
44704470
if MessageDlg(Lang[ID_MSG_STOPRUNNING], mtConfirmation, [mbYes,
44714471
mbNo], 0) <> mrYes then
4472-
Exit;
4472+
Exit
4473+
else
4474+
actStopExecuteExecute(nil);
44734475
end;
44744476
case GetCompileTarget of
44754477
cttProject: begin

0 commit comments

Comments
 (0)