Bug 2777 - Debugger fails to start on the second try
authorEugene Ostroukhov <eugeneo@symbian.org>
Thu, 20 May 2010 15:49:21 -0700
changeset 339 0a90f9744515
parent 338 41174f0a7f7c
child 340 740921999de7
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
org.symbian.tools.wrttools.previewer/src/org/symbian/tools/wrttools/previewer/http/handlers/DebuggerResourceProvider.java
--- 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;
                     }