Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Debugging
    • Labels:
      None
    • Environment:

      Aptana Studio 3, build: 3.0.6.201110251455
      OSX 10.6.8 and Windows XP

      Description

      Launching the debugger periodically fails.

      Steps to Replicate / Configuration :

      1) Open Aptana Studio
      2) Open a saved file (don't believe the type has anything to do with this, however discovering this I am working with HTML with embedded JavaScript)
      3) Configure a Debug server with : Web Browser = Firefox.exe, Start Action = Open Current Page and Server = Built-In Web Server
      4) Select the Debug Server from the Debug drop-down (this should launch the Firefox debugger.) If necessary, install the Firefox debugger now.
      5) By now closing the Firefox debugger and selecting the Debug Server from the Debug drop-down again should consistently launch the debugger. At this point I allocated a corner for this file and worked on some different items, periodically editing the launched file and other files. At some point i returned to the launched file and selected the Debug Server from the Debug drop-down again.

      Actual Results :

      Studio opens a browser window / tab at http://www.aptana.com/?debugger=true&port=1734 (port number is variable : previous port numbers include 1444, 1457, 1463, 1467, 1469, 1471, 1473, 1710, 1730 and 1732). Studio returns a Socket Connection Error dialog and writes this error to the log :

      !ENTRY com.aptana.js.debug.core 4 0 2011-10-26 16:00:38.178
      !MESSAGE Socket connection error. Please try shutting down and restarting your web browser, and then run 'debug' again.
      !STACK 0
      java.net.SocketTimeoutException: Accept timed out
      at java.net.PlainSocketImpl.socketAccept(Native Method)
      at java.net.PlainSocketImpl.accept(Unknown Source)
      at java.net.ServerSocket.implAccept(Unknown Source)
      at java.net.ServerSocket.accept(Unknown Source)
      at com.aptana.js.debug.core.JSLaunchConfigurationDelegate.launch(JSLaunchConfigurationDelegate.java:310)
      at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)
      at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:702)
      at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:924)
      at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1128)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

      Expected Results :

      Debugger should launch successfully every time.

        Attachments

          Activity

            People

            • Assignee:
              pinnamuri Praveen Innamuri (Inactive)
              Reporter:
              jwitt Joel Witt
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Git Source Code