-
Notifications
You must be signed in to change notification settings - Fork 443
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
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) when debugging vscode-extension project #3336
Comments
if I package my extension to .visx file, then install it and run java program in the real vscode window, the error won't get out and my extension works out. I got the reason in #1468 , but the author may just kill the extension process. How can I fix the conflict between extension debug process and the auto debug process by Language Support for Java? I need to debugging and test my extension function. Packaging to .visx is too slow. |
Java LS is listening on the 1044 or 1045 port. What port are you using? |
I use command "netstat -aon|findstr "1044"" and "netstat -aon|findstr "1045"" to find nothing. Neither of these port are occupied. Besides, there is no the error message "Address already in use" in OUTPUT window like #1468 |
@AlbertMZhou Can you try
|
|
Ports 1044 and 1045 are reserved. You can try to release them using:
or change them at vscode-java/src/javaServerStarter.ts Line 74 in 30697c3
|
That really works! Thanks a lot! ❤ |
what is the command for mac?
|
Environment
Steps To Reproduce
Current Result
The error message will output in extension-sample's output channel. And there will be error InformationMessage from Language Support for JAVA(TM). This makes that the extension-sample cannot call the commands provided by Language Support for JAVA
the core error logs are:
The text was updated successfully, but these errors were encountered: