plugins/org.symbian.tools.tmw.debug/src/org/symbian/tools/tmw/debug/ui/actions/DebugAction.java
changeset 485 df4f55e8569e
parent 472 bd9f2d7c64a6
--- a/plugins/org.symbian.tools.tmw.debug/src/org/symbian/tools/tmw/debug/ui/actions/DebugAction.java	Thu Sep 02 15:18:58 2010 -0700
+++ b/plugins/org.symbian.tools.tmw.debug/src/org/symbian/tools/tmw/debug/ui/actions/DebugAction.java	Thu Sep 02 16:31:16 2010 -0700
@@ -29,15 +29,15 @@
 public class DebugAction extends DebugLastAction {
     @Override
     public void run(IAction action) {
-        boolean hasWrtProjects = false;
+        boolean hasTmwProjects = false;
         IProject[] projects = ResourcesPlugin.getWorkspace().getRoot().getProjects();
         for (IProject project : projects) {
             if (project.isAccessible() && TMWCore.create(project) != null) {
-                hasWrtProjects = true;
+                hasTmwProjects = true;
                 break;
             }
         }
-        if (hasWrtProjects) {
+        if (hasTmwProjects) {
             super.run(action);
         } else {
             MessageDialog.openInformation(getShell(), "Cannot launch debugger",