Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-3842

Grails debugger does not create second time

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.6.0.M1
    • Fix Version/s: None
    • Component/s: GRAILS
    • Labels:
    • Environment:
      Windows 7

      Description

      1. Create a grails app.
      2. Debug it using Run As > Grails command (run-app)
      3. Connect to the app via browser to make sure it is runing
      4. In the debug view stop the debugee
      5. Rerun the app using Run As > Grails command (run-app)
      6. The debugger hangs for a while on waiting to connect on 57206 and then it shows:

      springdata-ngis-grails-example (run-app) [Grails]
      Java HotSpot(TM) 64-Bit Server VM[57206]
      Daemon System Thread [Attach Listener] (Suspended)
      Daemon System Thread [Signal Dispatcher] (Suspended)
      Daemon System Thread [Finalizer] (Suspended)
      Daemon System Thread [Reference Handler] (Suspended)
      Thread [main] (Suspended)
      C:\Program Files\Java\jdk1.7.0_51\bin\javaw.exe (Jun 2, 2014, 8:33:46 PM)

      And the suspended threads never resume.

        Activity

        Hide
        sandipchitale SANDIP CHITALE added a comment -

        The only way to use debugger again is to restart the IDE.

        I think this is same as:

        http://stackoverflow.com/questions/21868143/eclipse-ggts-4-3-and-grails-2-3-5-debugger-cant-connect-second-time-round

        Show
        sandipchitale SANDIP CHITALE added a comment - The only way to use debugger again is to restart the IDE. I think this is same as: http://stackoverflow.com/questions/21868143/eclipse-ggts-4-3-and-grails-2-3-5-debugger-cant-connect-second-time-round
        Hide
        kdvolder Kris De Volder added a comment -

        I have actually worked quite a bit with the reporter of that stack overflow question but not been able to reproduce his problem myself on a Windows machine.

        Really not sure what is going on but for some reason on some Windows setup there seems to be a problem creating the debug connection.
        In William's case it is even so that it works fine on one of his Windows machine but not on another one.

        Unfortunately without knowing what causes the problem there's not much I can do about it.

        Show
        kdvolder Kris De Volder added a comment - I have actually worked quite a bit with the reporter of that stack overflow question but not been able to reproduce his problem myself on a Windows machine. Really not sure what is going on but for some reason on some Windows setup there seems to be a problem creating the debug connection. In William's case it is even so that it works fine on one of his Windows machine but not on another one. Unfortunately without knowing what causes the problem there's not much I can do about it.
        Hide
        sandipchitale SANDIP CHITALE added a comment -

        Thanks for a quick response.

        I thought this was a issue seen more often - seems to be not the case. I will look at our environment viz. corporate security stuff etc. to look if there are any clues in system logs. Also may be even fire up the debugger or turn on JPDA logging to see what specifically may be going on in my env.Then I will report back.

        Show
        sandipchitale SANDIP CHITALE added a comment - Thanks for a quick response. I thought this was a issue seen more often - seems to be not the case. I will look at our environment viz. corporate security stuff etc. to look if there are any clues in system logs. Also may be even fire up the debugger or turn on JPDA logging to see what specifically may be going on in my env.Then I will report back.
        Hide
        mlippert Martin Lippert added a comment -

        We no longer work on the Grails integration for Eclipse, therefore I am closing all the remaining open issues here.
        The code of the project is still available as open-source at GitHub: https://github.com/spring-projects/grails-ide

        Show
        mlippert Martin Lippert added a comment - We no longer work on the Grails integration for Eclipse, therefore I am closing all the remaining open issues here. The code of the project is still available as open-source at GitHub: https://github.com/spring-projects/grails-ide

          People

          • Assignee:
            Unassigned
            Reporter:
            sandipchitale SANDIP CHITALE
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: