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

bugfix: handle missing jar file in SetBreakpointRequest #6005

Merged
merged 1 commit into from Jan 9, 2024

Conversation

adpi2
Copy link
Member

@adpi2 adpi2 commented Jan 8, 2024

I cannot start the debugger if there is an old breakpoint that points to a deleted JAR file (for instance if I put a breakpoint in the JDK and then update the JDK version).

This PR fixes the bug by catching the FileSystemNotFoundException in the SetBreakpointRequest handler and sending a synthetic response back to the client.

@adpi2 adpi2 requested a review from tgodzik January 8, 2024 12:37
Copy link
Contributor

@tgodzik tgodzik left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks!

@tgodzik
Copy link
Contributor

tgodzik commented Jan 8, 2024

Could you just run sbt scalafixAll ?

@adpi2 adpi2 merged commit 1a664e8 into scalameta:main Jan 9, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants