Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8042701

Cannot debug an applet

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 7u21
    • deploy
    • windows_7

      FULL PRODUCT VERSION :
      Using JRE version 1.7.0_21-b11 Java HotSpot(TM) Client VM

      ADDITIONAL OS VERSION INFORMATION :
      Window 7 (64-bit):
      Microsoft Windows [Version 6.1.7601]

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Internet Explorer 10 (32-bit)

      A DESCRIPTION OF THE PROBLEM :
      Providing standard debug parameters to java runtime parameters (in Windows control panel->Java):

      -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005

      I am unable to connect to the plug-in. I get " Failed to connect to remote VM. Connection refused. " in my run config in eclipse.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Setup java Runtime Parameters with this:
      -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005

      Run IE 10 and an applet on localhost. Define an eclipse Debug Configuration with:
      Host: localhost
      Port: 5005
      And click Debug in eclipse.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Should connect to remote JVM for debugging.
      ACTUAL -
      Get error message:
      Failed to connect to remote VM. Connection refused.
      Connection refused: connect

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      Failed to connect to remote VM. Connection refused.
      Connection refused: connect

      REPRODUCIBILITY :
      This bug can be reproduced always.

            van Vivi An (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: