Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-277

Unexpected behaviour when use the debug feature in the workspace from Java-stack

XMLWordPrintable

    • Hide
      • Create the Java 1.8 or jBoss EAP stack with sample application
      • Open the IDE, run the command `kitchensink-example:build and run in debug`
      • Connect the remote debug, open the MemberListProducer.java file and set breakpoint on the 30 line
      • Click on the preview url of the running application
      • After highlight breakpoint try to use: Step Into, Step Over, Step Out commands

      Expected behavior:

      • should be display the highlight breakpoint in the invoked java classes
        (screenshots are made from the CRW version 1.1, there it works as expected)


      Observed behavior:

      • the highlight breakpoint is absent
      • there is: Failed to get sources. Instead, stub sources have been generated by the disassembler. Implementation of methods is unavailable.



      Related E2E 'userstory' tests:
      JavaUserStoryTest, JBossEapUserStoryTest

      Show
      Create the Java 1.8 or jBoss EAP stack with sample application Open the IDE, run the command `kitchensink-example:build and run in debug` Connect the remote debug, open the MemberListProducer.java file and set breakpoint on the 30 line Click on the preview url of the running application After highlight breakpoint try to use: Step Into , Step Over , Step Out commands Expected behavior: should be display the highlight breakpoint in the invoked java classes (screenshots are made from the CRW version 1.1, there it works as expected) Observed behavior: the highlight breakpoint is absent there is: Failed to get sources. Instead, stub sources have been generated by the disassembler. Implementation of methods is unavailable. Related E2E 'userstory' tests: JavaUserStoryTest , JBossEapUserStoryTest

      • When use the 'Step Into', 'Step Over', 'Step Out' commands in debug mode the invoked java classes are failed to get sources and been generated by the disassembler. Implementation of methods is unavailable.

        1. debug-java-stack-step-into.png
          debug-java-stack-step-into.png
          320 kB
        2. debug-java-stack-step-out.png
          debug-java-stack-step-out.png
          373 kB
        3. debug-java-stack-step-over.png
          debug-java-stack-step-over.png
          296 kB
        4. debug-latest-jdk8-eap72-rhel8.png
          debug-latest-jdk8-eap72-rhel8.png
          339 kB
        5. debug-step-into-java-stack.png
          debug-step-into-java-stack.png
          356 kB
        6. debug-step-out-java-stack.png
          debug-step-out-java-stack.png
          431 kB
        7. debug-step-over-java-stack.png
          debug-step-over-java-stack.png
          353 kB
        8. java-stack-1.2-12.png
          java-stack-1.2-12.png
          474 kB

              nickboldt Nick Boldt
              oshmarai Shmaraiev Oleksandr
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: