Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to launch debuggee in terminal with TransportTimeoutException on Mac #637

Closed
EricZhangzf opened this issue Aug 23, 2019 · 15 comments · Fixed by #662
Closed

Failed to launch debuggee in terminal with TransportTimeoutException on Mac #637

EricZhangzf opened this issue Aug 23, 2019 · 15 comments · Fixed by #662
Assignees
Labels
Milestone

Comments

@EricZhangzf
Copy link

Environment
  • Operating System: Mac
  • JDK version: 1.8.0_220
  • Visual Studio Code version: 1.37.1
  • Java extension version: 0.47.0
  • Java Debugger extension version: 0.21.0
Steps To Reproduce
  1. Open resolveClasspath project in VScode and wait for Java extensions are activeted.
  2. Open insurance-decision/src/test/java/testscenario/Launch.java, click Debug CodeLens.
Current Result

An TimeoutException window will pop up.
image

Expected Result

No warnings or errors.

@cyberbit
Copy link

Same issue here when trying to run/debug a Spring Boot project.

@cyberbit
Copy link

@EricZhangzf Using this menu option to downgrade to 0.20.0 worked for me:

image

@testforstephen
Copy link
Contributor

This is related with a Mac issue #614, @Eskibear could you have a look?

A workaround is changing your default debug console to internal console by modifying VS Code user setting to "java.debug.settings.console": "internalConsole".

@testforstephen
Copy link
Contributor

testforstephen commented Sep 2, 2019

In 0.21.0, we changed the default debug console to integrated terminal.
@EricZhangzf When you failed to run the debug codelens, could you share your integrated terminal snapshot?
image

@testforstephen testforstephen pinned this issue Sep 2, 2019
@EricZhangzf
Copy link
Author

EricZhangzf commented Sep 2, 2019

Here is my screenshot:
image
This is the content:
bash-3.2$ /Library/Java/JavaVirtualMachines/jdk1.8.0_211.jdk/Contents/Home/bin/java -agentlib:jdwp=transport=dt_socket,server=n,suspend=y,address=localhost:49540 -Dfile.encoding=UTF-8 -cp /Users/user/Downloads/vscode-java-debug-master/testprojects/resolveClasspath/insurance-decision/target/test-classes:/Users/user/Downloads/vscode-java-debug-master/testprojects/resolveClasspath/insurance-decision/target/classes:/Users/user/.m2/repository/org/kie/kie-internal/7.18.0.Final-redhat-00004/kie-internal-7.18.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar:/Users/user/.m2/repository/org/kie/kie-api/7.18.0.Final-redhat-00004/kie-api-7.18.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/kie/soup/kie-soup-maven-support/7.18.0.Final-redhat-00004/kie-soup-maven-support-7.18.0.Final-redhat-00004.jar:/Users/user/.m2/repository/com/thoughtworks/xstream/xstream/1.4.10/xstream-1.4.10.jar:/Users/user/.m2/repository/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.jar:/Users/user/.m2/repository/xpp3/xpp3_min/1.1.4c-redhat-2/xpp3_min-1.1.4c-redhat-2.jar:/Users/user/.m2/repository/junit/junit/4.12/junit-4.12.jar:/Users/user/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/Users/user/.m2/repository/org/drools/drools-wb-scenario-simulation-editor-api/7.18.0.Final-redhat-00004/drools-wb-scenario-simulation-editor-api-7.18.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/kie/soup/kie-soup-project-datamodel-api/7.18.0.Final-redhat-00004/kie-soup-project-datamodel-api-7.18.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/uberfire/uberfire-project-api/2.15.0.Final-redhat-00004/uberfire-project-api-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/uberfire/uberfire-structure-api/2.15.0.Final-redhat-00004/uberfire-structure-api-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/jboss/errai/errai-cdi-shared/4.5.0.Final-redhat-00001/errai-cdi-shared-4.5.0.Final-redhat-00001.jar:/Users/user/.m2/repository/org/uberfire/uberfire-workingset-api/2.15.0.Final-redhat-00004/uberfire-workingset-api-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/uberfire/uberfire-social-activities-api/2.15.0.Final-redhat-00004/uberfire-social-activities-api-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/uberfire/uberfire-commons/2.15.0.Final-redhat-00004/uberfire-commons-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/apache/activemq/artemis-jms-client/2.3.0/artemis-jms-client-2.3.0.jar:/Users/user/.m2/repository/org/apache/activemq/artemis-core-client/2.3.0/artemis-core-client-2.3.0.jar:/Users/user/.m2/repository/org/apache/activemq/artemis-commons/2.3.0/artemis-commons-2.3.0.jar:/Users/user/.m2/repository/org/apache/geronimo/specs/geronimo-json_1.0_spec/1.0-alpha-1/geronimo-json_1.0_spec-1.0-alpha-1.jar:/Users/user/.m2/repository/org/apache/johnzon/johnzon-core/0.9.5/johnzon-core-0.9.5.jar:/Users/user/.m2/repository/org/apache/activemq/artemis-selector/2.3.0/artemis-selector-2.3.0.jar:/Users/user/.m2/repository/org/jboss/spec/javax/jms/jboss-jms-api_2.0_spec/1.0.2.Final-redhat-1/jboss-jms-api_2.0_spec-1.0.2.Final-redhat-1.jar:/Users/user/.m2/repository/io/netty/netty-buffer/4.1.16.Final/netty-buffer-4.1.16.Final.jar:/Users/user/.m2/repository/io/netty/netty-common/4.1.16.Final/netty-common-4.1.16.Final.jar:/Users/user/.m2/repository/io/netty/netty-transport/4.1.16.Final/netty-transport-4.1.16.Final.jar:/Users/user/.m2/repository/io/netty/netty-resolver/4.1.16.Final/netty-resolver-4.1.16.Final.jar:/Users/user/.m2/repository/io/netty/netty-transport-native-epoll/4.1.16.Final/netty-transport-native-epoll-4.1.16.Final-linux-x86_64.jar:/Users/user/.m2/repository/io/netty/netty-transport-native-unix-common/4.1.16.Final/netty-transport-native-unix-common-4.1.16.Final.jar:/Users/user/.m2/repository/io/netty/netty-transport-native-kqueue/4.1.16.Final/netty-transport-native-kqueue-4.1.16.Final-osx-x86_64.jar:/Users/user/.m2/repository/org/uberfire/uberfire-client-api/2.15.0.Final-redhat-00004/uberfire-client-api-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/jboss/errai/errai-javax-enterprise/4.5.0.Final-redhat-00001/errai-javax-enterprise-4.5.0.Final-redhat-00001.jar:/Users/user/.m2/repository/com/google/elemental2/elemental2-promise/1.0.0-beta-1/elemental2-promise-1.0.0-beta-1.jar:/Users/user/.m2/repository/org/uberfire/uberfire-preferences-api/2.15.0.Final-redhat-00004/uberfire-preferences-api-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/uberfire/uberfire-preferences-processors/2.15.0.Final-redhat-00004/uberfire-preferences-processors-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/uberfire/uberfire-workbench-processors/2.15.0.Final-redhat-00004/uberfire-workbench-processors-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/freemarker/freemarker/2.3.26.incubating-redhat-1/freemarker-2.3.26.incubating-redhat-1.jar:/Users/user/.m2/repository/org/uberfire/uberfire-services-api/2.15.0.Final-redhat-00004/uberfire-services-api-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/javax/inject/javax.inject/1.0.0.redhat-6/javax.inject-1.0.0.redhat-6.jar:/Users/user/.m2/repository/org/jboss/errai/errai-ioc/4.5.0.Final-redhat-00001/errai-ioc-4.5.0.Final-redhat-00001.jar:/Users/user/.m2/repository/org/jboss/errai/errai-codegen/4.5.0.Final-redhat-00001/errai-codegen-4.5.0.Final-redhat-00001.jar:/Users/user/.m2/repository/org/jboss/errai/errai-codegen-gwt/4.5.0.Final-redhat-00001/errai-codegen-gwt-4.5.0.Final-redhat-00001.jar:/Users/user/.m2/repository/com/google/guava/guava-gwt/25.0-jre/guava-gwt-25.0-jre.jar:/Users/user/.m2/repository/javax/enterprise/cdi-api/1.2/cdi-api-1.2.jar:/Users/user/.m2/repository/org/jboss/errai/errai-config/4.5.0.Final-redhat-00001/errai-config-4.5.0.Final-redhat-00001.jar:/Users/user/.m2/repository/org/uberfire/uberfire-security-api/2.15.0.Final-redhat-00004/uberfire-security-api-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/uberfire/uberfire-backend-api/2.15.0.Final-redhat-00004/uberfire-backend-api-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/jboss/errai/errai-bus/4.5.0.Final-redhat-00001/errai-bus-4.5.0.Final-redhat-00001.jar:/Users/user/.m2/repository/org/jboss/errai/errai-marshalling/4.5.0.Final-redhat-00001/errai-marshalling-4.5.0.Final-redhat-00001.jar:/Users/user/.m2/repository/org/jsoup/jsoup/1.8.3.redhat-2/jsoup-1.8.3.redhat-2.jar:/Users/user/.m2/repository/org/javassist/javassist/3.20.0-GA/javassist-3.20.0-GA.jar:/Users/user/.m2/repository/io/netty/netty-codec-http/4.1.16.Final/netty-codec-http-4.1.16.Final.jar:/Users/user/.m2/repository/io/netty/netty-codec/4.1.16.Final/netty-codec-4.1.16.Final.jar:/Users/user/.m2/repository/io/netty/netty-handler/4.1.16.Final/netty-handler-4.1.16.Final.jar:/Users/user/.m2/repository/com/google/guava/guava/25.0-jre/guava-25.0-jre.jar:/Users/user/.m2/repository/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar:/Users/user/.m2/repository/org/checkerframework/checker-compat-qual/2.0.0/checker-compat-qual-2.0.0.jar:/Users/user/.m2/repository/com/google/errorprone/error_prone_annotations/2.1.3/error_prone_annotations-2.1.3.jar:/Users/user/.m2/repository/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.jar:/Users/user/.m2/repository/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.jar:/Users/user/.m2/repository/org/jgroups/jgroups/3.6.14.Final/jgroups-3.6.14.Final.jar:/Users/user/.m2/repository/org/jboss/errai/errai-common/4.5.0.Final-redhat-00001/errai-common-4.5.0.Final-redhat-00001.jar:/Users/user/.m2/repository/com/google/jsinterop/jsinterop-annotations/1.0.1/jsinterop-annotations-1.0.1.jar:/Users/user/.m2/repository/org/jboss/errai/reflections/reflections/4.5.0.Final-redhat-00001/reflections-4.5.0.Final-redhat-00001.jar:/Users/user/.m2/repository/de/benediktmeurer/gwt-slf4j/gwt-slf4j/0.0.2/gwt-slf4j-0.0.2.jar:/Users/user/.m2/repository/org/apache/commons/commons-lang3/3.6.0.redhat-1/commons-lang3-3.6.0.redhat-1.jar:/Users/user/.m2/repository/com/google/elemental2/elemental2-dom/1.0.0-beta-1/elemental2-dom-1.0.0-beta-1.jar:/Users/user/.m2/repository/com/google/jsinterop/base/1.0.0-beta-1/base-1.0.0-beta-1.jar:/Users/user/.m2/repository/com/google/elemental2/elemental2-core/1.0.0-beta-1/elemental2-core-1.0.0-beta-1.jar:/Users/user/.m2/repository/org/uberfire/uberfire-api/2.15.0.Final-redhat-00004/uberfire-api-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/kie/soup/kie-soup-commons/7.18.0.Final-redhat-00004/kie-soup-commons-7.18.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/uberfire/uberfire-commons-editor-api/2.15.0.Final-redhat-00004/uberfire-commons-editor-api-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/kie/workbench/services/kie-wb-common-datamodel-api/7.18.0.Final-redhat-00004/kie-wb-common-datamodel-api-7.18.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/drools/drools-workbench-models-datamodel-api/7.18.0.Final-redhat-00004/drools-workbench-models-datamodel-api-7.18.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/drools/drools-wb-scenario-simulation-editor-backend/7.18.0.Final-redhat-00004/drools-wb-scenario-simulation-editor-backend-7.18.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/jboss/errai/errai-security-server/4.5.0.Final-redhat-00001/errai-security-server-4.5.0.Final-redhat-00001.jar:/Users/user/.m2/repository/org/apache/deltaspike/core/deltaspike-core-api/1.5.1/deltaspike-core-api-1.5.1.jar:/Users/user/.m2/repository/org/jboss/resteasy/resteasy-cdi/3.0.24.Final-redhat-1/resteasy-cdi-3.0.24.Final-redhat-1.jar:/Users/user/.m2/repository/org/jboss/spec/javax/ws/rs/jboss-jaxrs-api_2.0_spec/1.0.0.Final/jboss-jaxrs-api_2.0_spec-1.0.0.Final.jar:/Users/user/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar:/Users/user/.m2/repository/org/jboss/resteasy/resteasy-jaxrs/3.0.24.Final-redhat-1/resteasy-jaxrs-3.0.24.Final-redhat-1.jar:/Users/user/.m2/repository/org/jboss/spec/javax/annotation/jboss-annotations-api_1.2_spec/1.0.0.Final/jboss-annotations-api_1.2_spec-1.0.0.Final.jar:/Users/user/.m2/repository/javax/activation/activation/1.1.1.redhat-5/activation-1.1.1.redhat-5.jar:/Users/user/.m2/repository/net/jcip/jcip-annotations/1.0.0.redhat-8/jcip-annotations-1.0.0.redhat-8.jar:/Users/user/.m2/repository/org/jboss/logging/jboss-logging/3.3.2.Final-redhat-00001/jboss-logging-3.3.2.Final-redhat-00001.jar:/Users/user/.m2/repository/org/uberfire/uberfire-services-backend/2.15.0.Final-redhat-00004/uberfire-services-backend-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/uberfire/uberfire-server/2.15.0.Final-redhat-00004/uberfire-server-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/uberfire/uberfire-social-activities-backend/2.15.0.Final-redhat-00004/uberfire-social-activities-backend-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.25/jcl-over-slf4j-1.7.25.jar:/Users/user/.m2/repository/org/uberfire/uberfire-all/2.15.0.Final-redhat-00004/uberfire-all-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/uberfire/uberfire-server-all/2.15.0.Final-redhat-00004/uberfire-server-all-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/uberfire/uberfire-security-codegen/2.15.0.Final-redhat-00004/uberfire-security-codegen-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/uberfire/uberfire-nio2-fs/2.15.0.Final-redhat-00004/uberfire-nio2-fs-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/apache/abdera/abdera-core/1.1.3/abdera-core-1.1.3.jar:/Users/user/.m2/repository/org/apache/abdera/abdera-i18n/1.1.3/abdera-i18n-1.1.3.jar:/Users/user/.m2/repository/org/uberfire/uberfire-nio2-api/2.15.0.Final-redhat-00004/uberfire-nio2-api-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/commons-io/commons-io/2.5.0.redhat-3/commons-io-2.5.0.redhat-3.jar:/Users/user/.m2/repository/commons-fileupload/commons-fileupload/1.3.1/commons-fileupload-1.3.1.jar:/Users/user/.m2/repository/org/uberfire/uberfire-backend-server/2.15.0.Final-redhat-00004/uberfire-backend-server-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/uberfire/uberfire-ssh-api/2.15.0.Final-redhat-00004/uberfire-ssh-api-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/apache/sshd/sshd-core/1.6.0/sshd-core-1.6.0.jar:/Users/user/.m2/repository/org/ocpsoft/prettytime/prettytime/3.0.2.Final/prettytime-3.0.2.Final.jar:/Users/user/.m2/repository/org/jdom/jdom/1.1.3.redhat-3/jdom-1.1.3.redhat-3.jar:/Users/user/.m2/repository/jaxen/jaxen/1.1.6.redhat-2/jaxen-1.1.6.redhat-2.jar:/Users/user/.m2/repository/org/jboss/errai/errai-cdi-server/4.5.0.Final-redhat-00001/errai-cdi-server-4.5.0.Final-redhat-00001.jar:/Users/user/.m2/repository/org/jasypt/jasypt/1.9.2.redhat-1/jasypt-1.9.2.redhat-1.jar:/Users/user/.m2/repository/xerces/xercesImpl/2.12.0.SP02-redhat-00001/xercesImpl-2.12.0.SP02-redhat-00001.jar:/Users/user/.m2/repository/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar:/Users/user/.m2/repository/org/uberfire/uberfire-commons-editor-backend/2.15.0.Final-redhat-00004/uberfire-commons-editor-backend-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/com/google/code/gson/gson/2.8.2.redhat-5/gson-2.8.2.redhat-5.jar:/Users/user/.m2/repository/org/uberfire/uberfire-io/2.15.0.Final-redhat-00004/uberfire-io-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/slf4j/log4j-over-slf4j/1.7.25/log4j-over-slf4j-1.7.25.jar:/Users/user/.m2/repository/org/uberfire/uberfire-nio2-model/2.15.0.Final-redhat-00004/uberfire-nio2-model-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/commons-codec/commons-codec/1.10.0.redhat-5/commons-codec-1.10.0.redhat-5.jar:/Users/user/.m2/repository/org/kie/workbench/services/kie-wb-common-services-backend/7.18.0.Final-redhat-00004/kie-wb-common-services-backend-7.18.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/uberfire/uberfire-m2repo-editor-backend/2.15.0.Final-redhat-00004/uberfire-m2repo-editor-backend-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/com/google/inject/extensions/guice-servlet/4.0/guice-servlet-4.0.jar:/Users/user/.m2/repository/org/eclipse/aether/aether-util/1.1.0/aether-util-1.1.0.jar:/Users/user/.m2/repository/org/uberfire/uberfire-m2repo-editor-api/2.15.0.Final-redhat-00004/uberfire-m2repo-editor-api-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/uberfire/uberfire-structure-backend/2.15.0.Final-redhat-00004/uberfire-structure-backend-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/uberfire/uberfire-security-management-api/2.15.0.Final-redhat-00004/uberfire-security-management-api-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/uberfire/uberfire-servlet-security/2.15.0.Final-redhat-00004/uberfire-servlet-security-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/jboss/spec/javax/security/jacc/jboss-jacc-api_1.5_spec/1.0.2.Final-redhat-1/jboss-jacc-api_1.5_spec-1.0.2.Final-redhat-1.jar:/Users/user/.m2/repository/org/jboss/spec/javax/servlet/jboss-servlet-api_3.1_spec/1.0.2.Final-redhat-1/jboss-servlet-api_3.1_spec-1.0.2.Final-redhat-1.jar:/Users/user/.m2/repository/org/uberfire/uberfire-security-management-backend/2.15.0.Final-redhat-00004/uberfire-security-management-backend-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/uberfire/uberfire-project-backend/2.15.0.Final-redhat-00004/uberfire-project-backend-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/kie/workbench/kie-wb-common-ala-spi/7.18.0.Final-redhat-00004/kie-wb-common-ala-spi-7.18.0.Final-redhat-00004.jar:/Users/user/.m2/repository/commons-configuration/commons-configuration/1.6/commons-configuration-1.6.jar:/Users/user/.m2/repository/commons-collections/commons-collections/3.2.2.redhat-2/commons-collections-3.2.2.redhat-2.jar:/Users/user/.m2/repository/commons-beanutils/commons-beanutils/1.9.3.redhat-1/commons-beanutils-1.9.3.redhat-1.jar:/Users/user/.m2/repository/commons-lang/commons-lang/2.6.0.redhat-7/commons-lang-2.6.0.redhat-7.jar:/Users/user/.m2/repository/net/bytebuddy/byte-buddy/1.8.17/byte-buddy-1.8.17.jar:/Users/user/.m2/repository/org/kie/kie-ci/7.18.0.Final-redhat-00004/kie-ci-7.18.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/apache/maven/maven-plugin-api/3.3.9/maven-plugin-api-3.3.9.jar:/Users/user/.m2/repository/org/apache/maven/maven-compat/3.3.9/maven-compat-3.3.9.jar:/Users/user/.m2/repository/org/apache/maven/maven-aether-provider/3.3.9/maven-aether-provider-3.3.9.jar:/Users/user/.m2/repository/org/apache/maven/wagon/wagon-provider-api/3.0.0/wagon-provider-api-3.0.0.jar:/Users/user/.m2/repository/org/eclipse/aether/aether-impl/1.1.0/aether-impl-1.1.0.jar:/Users/user/.m2/repository/org/eclipse/aether/aether-connector-basic/1.1.0/aether-connector-basic-1.1.0.jar:/Users/user/.m2/repository/org/eclipse/aether/aether-spi/1.1.0/aether-spi-1.1.0.jar:/Users/user/.m2/repository/org/eclipse/aether/aether-transport-wagon/1.1.0/aether-transport-wagon-1.1.0.jar:/Users/user/.m2/repository/org/eclipse/aether/aether-transport-file/1.1.0/aether-transport-file-1.1.0.jar:/Users/user/.m2/repository/org/eclipse/aether/aether-transport-http/1.1.0/aether-transport-http-1.1.0.jar:/Users/user/.m2/repository/org/apache/ant/ant/1.8.4/ant-1.8.4.jar:/Users/user/.m2/repository/org/apache/ant/ant-launcher/1.8.4/ant-launcher-1.8.4.jar:/Users/user/.m2/repository/org/apache/maven/wagon/wagon-http/3.0.0/wagon-http-3.0.0.jar:/Users/user/.m2/repository/org/apache/maven/wagon/wagon-http-shared/3.0.0/wagon-http-shared-3.0.0.jar:/Users/user/.m2/repository/org/apache/httpcomponents/httpcore/4.4.6/httpcore-4.4.6.jar:/Users/user/.m2/repository/org/sonatype/plexus/plexus-cipher/1.7/plexus-cipher-1.7.jar:/Users/user/.m2/repository/org/kie/soup/kie-soup-maven-integration/7.18.0.Final-redhat-00004/kie-soup-maven-integration-7.18.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/kie/workbench/services/kie-wb-common-refactoring-api/7.18.0.Final-redhat-00004/kie-wb-common-refactoring-api-7.18.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/uberfire/uberfire-metadata-api/2.15.0.Final-redhat-00004/uberfire-metadata-api-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/uberfire/uberfire-backend-cdi/2.15.0.Final-redhat-00004/uberfire-backend-cdi-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/uberfire/uberfire-preferences-backend/2.15.0.Final-redhat-00004/uberfire-preferences-backend-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/eclipse/aether/aether-api/1.1.0/aether-api-1.1.0.jar:/Users/user/.m2/repository/org/uberfire/uberfire-project-builder/2.15.0.Final-redhat-00004/uberfire-project-builder-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/kie/workbench/services/kie-wb-common-refactoring-backend/7.18.0.Final-redhat-00004/kie-wb-common-refactoring-backend-7.18.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/apache/lucene/lucene-core/6.6.1/lucene-core-6.6.1.jar:/Users/user/.m2/repository/org/apache/lucene/lucene-analyzers-common/6.6.1/lucene-analyzers-common-6.6.1.jar:/Users/user/.m2/repository/org/uberfire/uberfire-metadata-backend-lucene/2.15.0.Final-redhat-00004/uberfire-metadata-backend-lucene-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/apache/lucene/lucene-codecs/6.6.1/lucene-codecs-6.6.1.jar:/Users/user/.m2/repository/org/apache/lucene/lucene-queryparser/6.6.1/lucene-queryparser-6.6.1.jar:/Users/user/.m2/repository/org/apache/lucene/lucene-queries/6.6.1/lucene-queries-6.6.1.jar:/Users/user/.m2/repository/org/apache/lucene/lucene-misc/6.6.1/lucene-misc-6.6.1.jar:/Users/user/.m2/repository/org/apache/lucene/lucene-sandbox/6.6.1/lucene-sandbox-6.6.1.jar:/Users/user/.m2/repository/org/uberfire/uberfire-metadata-backend-elasticsearch/2.15.0.Final-redhat-00004/uberfire-metadata-backend-elasticsearch-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/elasticsearch/client/transport/5.6.1/transport-5.6.1.jar:/Users/user/.m2/repository/org/elasticsearch/plugin/transport-netty3-client/5.6.1/transport-netty3-client-5.6.1.jar:/Users/user/.m2/repository/io/netty/netty/3.10.6.Final/netty-3.10.6.Final.jar:/Users/user/.m2/repository/org/elasticsearch/plugin/transport-netty4-client/5.6.1/transport-netty4-client-5.6.1.jar:/Users/user/.m2/repository/org/elasticsearch/plugin/reindex-client/5.6.1/reindex-client-5.6.1.jar:/Users/user/.m2/repository/org/elasticsearch/plugin/lang-mustache-client/5.6.1/lang-mustache-client-5.6.1.jar:/Users/user/.m2/repository/com/github/spullara/mustache/java/compiler/0.9.3/compiler-0.9.3.jar:/Users/user/.m2/repository/org/elasticsearch/plugin/percolator-client/5.6.1/percolator-client-5.6.1.jar:/Users/user/.m2/repository/org/elasticsearch/plugin/parent-join-client/5.6.1/parent-join-client-5.6.1.jar:/Users/user/.m2/repository/org/elasticsearch/elasticsearch/5.6.1/elasticsearch-5.6.1.jar:/Users/user/.m2/repository/org/apache/lucene/lucene-grouping/6.6.1/lucene-grouping-6.6.1.jar:/Users/user/.m2/repository/org/apache/lucene/lucene-highlighter/6.6.1/lucene-highlighter-6.6.1.jar:/Users/user/.m2/repository/org/apache/lucene/lucene-join/6.6.1/lucene-join-6.6.1.jar:/Users/user/.m2/repository/org/apache/lucene/lucene-memory/6.6.1/lucene-memory-6.6.1.jar:/Users/user/.m2/repository/org/apache/lucene/lucene-spatial/6.6.1/lucene-spatial-6.6.1.jar:/Users/user/.m2/repository/org/apache/lucene/lucene-spatial-extras/6.6.1/lucene-spatial-extras-6.6.1.jar:/Users/user/.m2/repository/org/apache/lucene/lucene-spatial3d/6.6.1/lucene-spatial3d-6.6.1.jar:/Users/user/.m2/repository/org/apache/lucene/lucene-suggest/6.6.1/lucene-suggest-6.6.1.jar:/Users/user/.m2/repository/org/elasticsearch/securesm/1.1/securesm-1.1.jar:/Users/user/.m2/repository/net/sf/jopt-simple/jopt-simple/5.0.2/jopt-simple-5.0.2.jar:/Users/user/.m2/repository/com/carrotsearch/hppc/0.7.1/hppc-0.7.1.jar:/Users/user/.m2/repository/joda-time/joda-time/2.9.7.redhat-1/joda-time-2.9.7.redhat-1.jar:/Users/user/.m2/repository/org/yaml/snakeyaml/1.18.0.redhat-2/snakeyaml-1.18.0.redhat-2.jar:/Users/user/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-smile/2.9.5/jackson-dataformat-smile-2.9.5.jar:/Users/user/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.9.5/jackson-dataformat-yaml-2.9.5.jar:/Users/user/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-cbor/2.9.5/jackson-dataformat-cbor-2.9.5.jar:/Users/user/.m2/repository/com/tdunning/t-digest/3.0/t-digest-3.0.jar:/Users/user/.m2/repository/org/hdrhistogram/HdrHistogram/2.1.9/HdrHistogram-2.1.9.jar:/Users/user/.m2/repository/org/apache/logging/log4j/log4j-api/2.9.0/log4j-api-2.9.0.jar:/Users/user/.m2/repository/org/elasticsearch/jna/4.4.0-1/jna-4.4.0-1.jar:/Users/user/.m2/repository/org/elasticsearch/client/elasticsearch-rest-client/5.6.1/elasticsearch-rest-client-5.6.1.jar:/Users/user/.m2/repository/org/apache/httpcomponents/httpasyncclient/4.1.2/httpasyncclient-4.1.2.jar:/Users/user/.m2/repository/org/apache/httpcomponents/httpcore-nio/4.4.5/httpcore-nio-4.4.5.jar:/Users/user/.m2/repository/com/unboundid/unboundid-ldapsdk/3.2.0/unboundid-ldapsdk-3.2.0.jar:/Users/user/.m2/repository/com/fasterxml/jackson/jaxrs/jackson-jaxrs-json-provider/2.9.5/jackson-jaxrs-json-provider-2.9.5.jar:/Users/user/.m2/repository/com/fasterxml/jackson/jaxrs/jackson-jaxrs-base/2.9.5/jackson-jaxrs-base-2.9.5.jar:/Users/user/.m2/repository/com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.9.5/jackson-module-jaxb-annotations-2.9.5.jar:/Users/user/.m2/repository/org/apache/lucene/lucene-backward-codecs/6.6.1/lucene-backward-codecs-6.6.1.jar:/Users/user/.m2/repository/org/apache/logging/log4j/log4j-to-slf4j/2.9.0/log4j-to-slf4j-2.9.0.jar:/Users/user/.m2/repository/org/uberfire/uberfire-metadata-backend-infinispan/2.15.0.Final-redhat-00004/uberfire-metadata-backend-infinispan-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/infinispan/infinispan-query-dsl/8.5.3.Final-redhat-00002/infinispan-query-dsl-8.5.3.Final-redhat-00002.jar:/Users/user/.m2/repository/org/infinispan/infinispan-remote-query-client/8.5.3.Final-redhat-00002/infinispan-remote-query-client-8.5.3.Final-redhat-00002.jar:/Users/user/.m2/repository/org/infinispan/infinispan-client-hotrod/8.5.3.Final-redhat-00002/infinispan-client-hotrod-8.5.3.Final-redhat-00002.jar:/Users/user/.m2/repository/commons-pool/commons-pool/1.6/commons-pool-1.6.jar:/Users/user/.m2/repository/org/infinispan/infinispan-commons/8.5.3.Final-redhat-00002/infinispan-commons-8.5.3.Final-redhat-00002.jar:/Users/user/.m2/repository/com/github/ben-manes/caffeine/caffeine/2.4.0.redhat-1/caffeine-2.4.0.redhat-1.jar:/Users/user/.m2/repository/org/infinispan/protostream/protostream/4.2.2.Final/protostream-4.2.2.Final.jar:/Users/user/.m2/repository/com/squareup/protoparser/4.0.3/protoparser-4.0.3.jar:/Users/user/.m2/repository/org/kie/workbench/screens/kie-wb-common-project-editor-api/7.18.0.Final-redhat-00004/kie-wb-common-project-editor-api-7.18.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/kie/workbench/screens/kie-wb-common-default-editor-api/7.18.0.Final-redhat-00004/kie-wb-common-default-editor-api-7.18.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.plexus/0.3.2/org.eclipse.sisu.plexus-0.3.2.jar:/Users/user/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.3.2/org.eclipse.sisu.inject-0.3.2.jar:/Users/user/.m2/repository/org/apache/maven/maven-embedder/3.3.9/maven-embedder-3.3.9.jar:/Users/user/.m2/repository/com/google/inject/guice/4.0/guice-4.0-no_aop.jar:/Users/user/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/Users/user/.m2/repository/org/apache/maven/maven-core/3.3.9/maven-core-3.3.9.jar:/Users/user/.m2/repository/org/apache/maven/maven-model/3.3.9/maven-model-3.3.9.jar:/Users/user/.m2/repository/org/apache/maven/maven-model-builder/3.3.9/maven-model-builder-3.3.9.jar:/Users/user/.m2/repository/org/apache/maven/maven-builder-support/3.3.9/maven-builder-support-3.3.9.jar:/Users/user/.m2/repository/org/apache/maven/maven-artifact/3.3.9/maven-artifact-3.3.9.jar:/Users/user/.m2/repository/org/apache/maven/maven-settings/3.3.9/maven-settings-3.3.9.jar:/Users/user/.m2/repository/org/apache/maven/maven-settings-builder/3.3.9/maven-settings-builder-3.3.9.jar:/Users/user/.m2/repository/org/apache/maven/maven-repository-metadata/3.3.9/maven-repository-metadata-3.3.9.jar:/Users/user/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar:/Users/user/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.6/plexus-component-annotations-1.6.jar:/Users/user/.m2/repository/org/codehaus/plexus/plexus-classworlds/2.5.2/plexus-classworlds-2.5.2.jar:/Users/user/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.24.redhat-1/plexus-utils-3.0.24.redhat-1.jar:/Users/user/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar:/Users/user/.m2/repository/org/uberfire/uberfire-nio2-jgit/2.15.0.Final-redhat-00004/uberfire-nio2-jgit-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/com/jcraft/jsch/0.1.54.redhat-00001/jsch-0.1.54.redhat-00001.jar:/Users/user/.m2/repository/commons-cli/commons-cli/1.3.1/commons-cli-1.3.1.jar:/Users/user/.m2/repository/org/eclipse/jgit/org.eclipse.jgit/4.8.0.201706111038-r/org.eclipse.jgit-4.8.0.201706111038-r.jar:/Users/user/.m2/repository/com/googlecode/javaewah/JavaEWAH/1.1.6/JavaEWAH-1.1.6.jar:/Users/user/.m2/repository/org/apache/httpcomponents/httpclient/4.5.3/httpclient-4.5.3.jar:/Users/user/.m2/repository/org/kie/workbench/services/kie-wb-common-datamodel-backend/7.18.0.Final-redhat-00004/kie-wb-common-datamodel-backend-7.18.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/drools/drools-workbench-models-commons/7.18.0.Final-redhat-00004/drools-workbench-models-commons-7.18.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/kie/workbench/services/kie-wb-common-services-api/7.18.0.Final-redhat-00004/kie-wb-common-services-api-7.18.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/uberfire/uberfire-message-console-api/2.15.0.Final-redhat-00004/uberfire-message-console-api-2.15.0.Final-redhat-00004.jar:/Users/user/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.9.5/jackson-databind-2.9.5.jar:/Users/user/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.9.5/jackson-annotations-2.9.5.jar:/Users/user/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.9.5/jackson-core-2.9.5.jar:/Users/user/.m2/repository/org/drools/drools-compiler/7.18.0.Final-redhat-00004/drools-compiler-7.18.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/drools/drools-core/7.18.0.Final-redhat-00004/drools-core-7.18.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/kie/soup/kie-soup-project-datamodel-commons/7.18.0.Final-redhat-00004/kie-soup-project-datamodel-commons-7.18.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/antlr/antlr-runtime/3.5.2/antlr-runtime-3.5.2.jar:/Users/user/.m2/repository/org/eclipse/jdt/core/compiler/ecj/4.6.1.redhat-1/ecj-4.6.1.redhat-1.jar:/Users/user/.m2/repository/org/mvel/mvel2/2.4.3.Final-redhat-1/mvel2-2.4.3.Final-redhat-1.jar:/Users/user/.m2/repository/com/google/protobuf/protobuf-java/3.6.1/protobuf-java-3.6.1.jar:/Users/user/.m2/repository/org/kie/kie-dmn-feel/7.18.0.Final-redhat-00004/kie-dmn-feel-7.18.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/kie/kie-dmn-model/7.18.0.Final-redhat-00004/kie-dmn-model-7.18.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/antlr/antlr4-runtime/4.5.3/antlr4-runtime-4.5.3.jar:/Users/user/.m2/repository/org/drools/drlx-parser/7.18.0.Final-redhat-00004/drlx-parser-7.18.0.Final-redhat-00004.jar:/Users/user/.m2/repository/ch/obermuhlner/big-math/2.0.1/big-math-2.0.1.jar:/Users/user/.m2/repository/org/kie/kie-dmn-api/7.18.0.Final-redhat-00004/kie-dmn-api-7.18.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/kie/kie-dmn-core/7.18.0.Final-redhat-00004/kie-dmn-core-7.18.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/kie/kie-dmn-backend/7.18.0.Final-redhat-00004/kie-dmn-backend-7.18.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/drools/drools-canonical-model/7.18.0.Final-redhat-00004/drools-canonical-model-7.18.0.Final-redhat-00004.jar:/Users/user/.m2/repository/org/drools/drools-model-compiler/7.18.0.Final-redhat-00004/drools-model-compiler-7.18.0.Final-redhat-00004.jar testscenario.Launch

@testforstephen
Copy link
Contributor

This looks like a long command line case (30k+ chars in the command line). Duplicated with issue #541.

Could you try to add "shortenCommandLine": "jarmanifest" in launch.json?

@EricZhangzf
Copy link
Author

EricZhangzf commented Sep 2, 2019

When I add "shortenCommandLine": "jarmanifest" in launch.json. Then click debug, It no reproduces.
image

@jdneo
Copy link
Member

jdneo commented Sep 4, 2019

We can wrap the classpath into a jar just as what we do in Windows.

@testforstephen testforstephen added this to the 0.22.0 milestone Sep 4, 2019
@tm1819
Copy link

tm1819 commented Sep 6, 2019

For me, the issue isn't the character length of the classpath -- it's that it takes about 15 seconds to print it all out, but VSCode gives up after 10 seconds. Is there a way to change this timeout value?
That would be a useful thing to have in general...

In the meantime, I can confirm that this user setting does indeed resole the issue:
"java.debug.settings.console": "internalConsole"

@testforstephen
Copy link
Contributor

it's that it takes about 15 seconds to print it all out, but VSCode gives up after 10 seconds.

@tm1819 In your case, how long is your program classpath?

@hnviradiya
Copy link

is this released. im still facing this issue. workaround if internalconsole works for ke too.

@ghost
Copy link

ghost commented Dec 21, 2019

I meet the same problem,did you solve this problem

@ghost
Copy link

ghost commented Dec 22, 2019

Maybe you can change your class name to the same as the file name ,if you add public in the front of the class

@1272371
Copy link

1272371 commented Jun 28, 2021

add this line (, "java.debug.settings.console": "internalConsole") at the end of your settings.json which you can open by ctrl+shift+p , then typing settings, the file should appear .. make sure you foloow json format property

@d0meki
Copy link

d0meki commented Dec 1, 2022

Esto está relacionado con un problema de Mac #614 ,@Eskibear¿podrías echar un vistazo?

Una solución es cambiar su consola de depuración predeterminada a una consola interna modificando la configuración de usuario de VS Code a "java.debug.settings.console": "internalConsole".

esta es la que me funcionó, muchisimas gracias a la comunidad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants