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

IOException: Is a directory when evaluating expression #804

Open
bishabosha opened this issue Dec 2, 2024 · 2 comments
Open

IOException: Is a directory when evaluating expression #804

bishabosha opened this issue Dec 2, 2024 · 2 comments

Comments

@bishabosha
Copy link
Member

bishabosha commented Dec 2, 2024

I don't have a minimized project to reproduce, but frequently in the specific setup of my private project, I can't evaluate some expressions due to this exception:

Cannot evaluate because of java.io.IOException: Is a directory.

but in the same breakpoint, other expressions work (maybe its whenever its not reflection based?

@adpi2
Copy link
Member

adpi2 commented Dec 5, 2024

Thanks for reporting. It would be good to have a repro though.

@bishabosha
Copy link
Member Author

bishabosha commented Dec 5, 2024

I saw this message in another crash during a debugging session that wasn't specifically the expression evaluator, but still the debug adapter - which was the scala compiler complaining that it couldn't create a source file from the abstract file given as input because it is a directory - the path was some temporary file created for the scala-debug-adapater it seemed

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

No branches or pull requests

2 participants