--- a/org.symbian.tools.wrttools.previewer/src/org/symbian/tools/wrttools/previewer/http/handlers/DebuggerResourceProvider.java Wed Apr 21 11:59:24 2010 -0700
+++ b/org.symbian.tools.wrttools.previewer/src/org/symbian/tools/wrttools/previewer/http/handlers/DebuggerResourceProvider.java Fri Apr 23 11:56:36 2010 -0700
@@ -62,7 +62,7 @@
}
} else if ("testConnection".equals(resource.segment(1))) {
String[] sessionId = parameters.get(DEBUG_SESSION_ID_PARAMETER);
- if (sessionId != null & sessionId.length == 1) {
+ if (sessionId != null && sessionId.length > 1) {
if (!WebAppInterface.isConnected(project.getName(), sessionId[0])) {
return null;
}