#I run my code thru Terminal and it works fine but when I click "Start Debugging" in VSCode...
1 messages ยท Page 1 of 1 (latest)
<@&987246527741304832> please have a look, thanks.
Here is an AI assisted attempt to answer your question ๐ค. Maybe it helps! In any case, a human is on the way ๐. To continue talking to the AI, you can use </chatgpt:1108714622413963314>.
When running your code through Terminal, it may be using a different set of configurations or settings compared to when you click "Start Debugging" in VSCode.
Here are a few things you can check to troubleshoot the compiler error:
- Make sure your VSCode is set up correctly with the JDK and other necessary configurations for debugging Java code.
- Check if there are any syntax errors or missing dependencies in your code that are only caught during debugging in VSCode.
- Review the debug configurations in your launch.json file to ensure they match the setup you have when running in Terminal.
- Try cleaning and rebuilding your project within VSCode to ensure that all dependencies are properly linked.
By addressing these potential issues, you should be able to identify and resolve the compiler error that occurs when attempting to debug Java code in VSCode.
this is the code
I uploaded your attachments as Gist.
and this is the error message
the same happens for a lot of other files in my folder
today I opened it just now and nothing was working
my main class is from lines 57 - 89 of the Gist