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

Applets die at breakpoints in debugger if you don't continue quickly.

XMLWordPrintable

    • x86_64
    • windows_7

      FULL PRODUCT VERSION :
      Java(TM) SE Runtime Environment (build 1.8.0_40-b26)
      Java HotSpot(TM) Client VM (build 25.40-b25, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 6.1.7601]


      EXTRA RELEVANT SYSTEM CONFIGURATION :
      I use the IntelliJ debugger:
      IntelliJ IDEA 14.1
      Build #IC 141.177, built on March 23, 2015

      A DESCRIPTION OF THE PROBLEM :
      I set the deployment.properties to include ...
      deployment.javaws.jre.0.args=-Dcertify.port\=15407 -agentlib\:jdwp\=transport\=dt_socket,server\=y,suspend\=n,address\=10481

      I connect on port 10481 with the IntelliJ debugger. If I stop at a breakpoint and continue all works well. If I take a step or two through my code the applet dies and the debugger disconnects.

      REGRESSION. Last worked in version 6u43

      ADDITIONAL REGRESSION INFORMATION:
      I really don't know if this ever worked, though I think it did when I tried it many years ago with another debugger and maybe Java 1.4.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Connect to an applet with a debugge with a breakpoint set on any line of code that you know will be executed. When you hit the breakpoint step from line to line. The bug will occur within a step or two.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      One should be able to step through code as one does in an application.
      ACTUAL -
      The applet crashes and the debugger disconnects.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      I've seen no error message.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      Any applet should work but if you need the one I use please send me an email at glystad@worksoft.com and I'll send the source. You'll have to sign it yourself, etc.
      ---------- END SOURCE ----------

            aroy Abhijit Roy (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: