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-latest-jdk8-eap72-rhel8.png
          339 kB
          Nick Boldt
        2. java-stack-1.2-12.png
          474 kB
          Shmaraiev Oleksandr
        3. debug-java-stack-step-into.png
          320 kB
          Shmaraiev Oleksandr
        4. debug-java-stack-step-out.png
          373 kB
          Shmaraiev Oleksandr
        5. debug-java-stack-step-over.png
          296 kB
          Shmaraiev Oleksandr
        6. debug-step-into-java-stack.png
          356 kB
          Shmaraiev Oleksandr
        7. debug-step-out-java-stack.png
          431 kB
          Shmaraiev Oleksandr
        8. debug-step-over-java-stack.png
          353 kB
          Shmaraiev Oleksandr

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

                Created:
                Updated:
                Resolved: