ide: tweaked code related to managing (or not) debug session when compiling. fixed...
[sdk] / ide / src / debugger / Debugger.ec
index 8364573..977e759 100644 (file)
@@ -621,13 +621,8 @@ class Debugger
 
    // PUBLIC MEMBERS
 
-   property bool isActiveForCurrentConfig
-   {
-      get
-      {
-         return ide.project && ide.project.config == prjConfig && (state == running || state == stopped) ? true : false;
-      }
-   }
+   property bool isActive { get { return state == running || state == stopped; } }
+   property bool isPrepared  { get { return state == loaded || state == running || state == stopped; } }
 
    void Resume()
    {