plugins/org.symbian.tools.tmw.debug/src/org/symbian/tools/tmw/debug/ui/actions/DebugAction.java
--- 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",