ide: tweaked code related to managing (or not) debug session when compiling. fixed...
[sdk] / ide / src / ide.ec
index fd926d1..0c08878 100644 (file)
@@ -1545,7 +1545,7 @@ class IDE : Window
 
    bool DontTerminateDebugSession(char * title)
    {
-      if(debugger.isActiveForCurrentConfig)
+      if(debugger.isActive)
       {
          if(MessageBox { type = yesNo, master = ide, 
                            contents = "Do you want to terminate the debugging session in progress?",