#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)

faint depot
#

... in VSCode it suddenly gives a compiler error.

azure orioleBOT
#

<@&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>.

#
TJ-Bot
... in VSCode it suddenly gives a compiler error.

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:

  1. Make sure your VSCode is set up correctly with the JDK and other necessary configurations for debugging Java code.
  2. Check if there are any syntax errors or missing dependencies in your code that are only caught during debugging in VSCode.
  3. Review the debug configurations in your launch.json file to ensure they match the setup you have when running in Terminal.
  4. 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.

faint depot
azure orioleBOT
faint depot
#

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

faint depot