Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Add the Java DAP implementation (+LSP uprev) #258

Merged
merged 1 commit into from
Jun 9, 2021
Merged

Conversation

lhchavez
Copy link
Contributor

@lhchavez lhchavez commented Jun 8, 2021

This change bundles a pre-built binary of the Java DAP with
microsoft/java-debug#379 applied, so that we can
specify what port it should bind to.

In order for this to function correctly, it also needs to be running a
more recent version of the Java LSP, so we will upgrade that too.

@replbot replbot added boop and removed preboop labels Jun 8, 2021
@replbot
Copy link
Member

replbot commented Jun 8, 2021

Good work, this PRs short and easy to review! Promoting to bop.

@replbot
Copy link
Member

replbot commented Jun 8, 2021

unbooping: tests don't pass

@replbot replbot removed the boop label Jun 8, 2021
@lhchavez lhchavez changed the title Add the Java DAP implementation Add the Java DAP implementation (+LSP uprev) Jun 8, 2021
@lhchavez lhchavez force-pushed the lh-java-dap branch 4 times, most recently from d7988e2 to 0763499 Compare June 9, 2021 00:26
@lhchavez lhchavez added the boop label Jun 9, 2021
@replbot
Copy link
Member

replbot commented Jun 9, 2021

🚓 Looks like this PR has grown too powerful! Going to have to demote it... sorry frend

This change bundles a pre-built binary of the Java DAP with
microsoft/java-debug#379 and
replit/java-debug@2a556e5
applied, so that we can specify what host/port it should bind to, in
addition to always using localhost as the interface that it binds to.

In order for this to function correctly, it also needs to be running a
more recent version of the Java LSP, so we will upgrade that too.
@replbot
Copy link
Member

replbot commented Jun 9, 2021

prebooping: tests are pending

@replbot replbot added boop and removed preboop labels Jun 9, 2021
Copy link
Contributor

@dan-stowell dan-stowell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those while True loops scare me - what do people do if it gets stuck? I guess you just reconnect. Otherwise 👍

@replbot
Copy link
Member

replbot commented Jun 9, 2021

unbooping: approved

@replbot replbot removed the boop label Jun 9, 2021
@lhchavez
Copy link
Contributor Author

lhchavez commented Jun 9, 2021

Those while True loops scare me - what do people do if it gets stuck? I guess you just reconnect. Otherwise

yup, reconnect. the caller (the debugproxy) has a timeout that pulls the plug eventually. unfortunately the DAP is super flaky in the first few launches (and most of the search results for the error suggest "have you tried turning it off and on again").

@lhchavez lhchavez merged commit 7bb14ca into master Jun 9, 2021
@lhchavez lhchavez deleted the lh-java-dap branch June 9, 2021 21:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants