Bug 2777 - Debugger fails to start on the second try
Bug 2698 - [Linux] Breakpoint is not hit if was added prior to running the Chrome
--- a/org.symbian.tools.wrttools.previewer/src/org/symbian/tools/wrttools/previewer/http/handlers/DebuggerResourceProvider.java Thu May 20 13:14:48 2010 -0700
+++ b/org.symbian.tools.wrttools.previewer/src/org/symbian/tools/wrttools/previewer/http/handlers/DebuggerResourceProvider.java Thu May 20 15:49:21 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;
}