mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 10:19:22 +02:00
Merged revision(s) 61504 #5746da87b0 from trunk:
IDE: DoRunProject: reset ToolStatus only for errors on handlers, bug #35764 ........ git-svn-id: branches/fixes_2_0@62105 -
This commit is contained in:
parent
3b06c8f7ea
commit
254fc8b15d
11
ide/main.pp
11
ide/main.pp
@ -7180,18 +7180,19 @@ begin
|
||||
debugln('Hint: (lazarus) [TMainIDE.DoRunProject] Debugger=',EnvironmentOptions.DebuggerConfig.DebuggerClass);
|
||||
|
||||
try
|
||||
Result := mrCancel;
|
||||
Result:=mrCancel;
|
||||
Handled:=false;
|
||||
Result := DoCallRunDebug(Handled);
|
||||
if Handled or (Result<>mrOk) then
|
||||
if Handled then
|
||||
exit;
|
||||
|
||||
Result := mrCancel;
|
||||
Result := DebugBoss.StartDebugging;
|
||||
finally
|
||||
if Result<>mrOk then
|
||||
ToolStatus:=itNone;
|
||||
end;
|
||||
if Result<>mrOk then
|
||||
exit;
|
||||
|
||||
Result := DebugBoss.StartDebugging;
|
||||
|
||||
DebugLn('Hint: (lazarus) [TMainIDE.DoRunProject] END');
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user