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

Debug can't catch Java application with Quarkus Dev mode intermediately

XMLWordPrintable

    • Hide

      1. Run Quarkus Dev mode via mvn compile quarkus:dev
      2. From the Run menu, click on Edit Debug Configurations
      3. Configure Java debugger with checking "Connect to process on workspace machine" and Port: 5005
      4. Confirm that the remote debugger is successfully connected.
      5. Add breakpoints in Java application
      6. Invoke the endpoint URL of the application

      Show
      1. Run Quarkus Dev mode via mvn compile quarkus:dev 2. From the Run menu, click on Edit Debug Configurations 3. Configure Java debugger with checking "Connect to process on workspace machine" and Port: 5005 4. Confirm that the remote debugger is successfully connected. 5. Add breakpoints in Java application 6. Invoke the endpoint URL of the application

      In CRW v.1.2.1.GA, debug panel and notice that the code execution is sometimes(randomly) NOT paused at the breakpoint on Java apps which runs by Quarkus Dev Mode.

      Expected Result: the code execution is paused at the breakpoint.

      Actual Result: Without pausing, users can see the result like a normal runtime mode.

            vsvydenk Valerii Svydenko
            doh@redhat.com Daniel Oh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: