Ver código fonte

+ Prevent error message after program terminates.

git-svn-id: trunk@6936 -
daniel 18 anos atrás
pai
commit
0b3ddb0b82
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      ide/fpmrun.inc

+ 2 - 1
ide/fpmrun.inc

@@ -99,7 +99,8 @@ begin
      else
       Debugger^.TraceNext;
     end;}
-  Debugger^.AnnotateError;
+  if Debugger^.IsRunning then
+    Debugger^.AnnotateError;
 {$else NODEBUG}
   NoDebugger;
 {$endif NODEBUG}