2

I receive the following error when trying to debug a log file:

Unable to retrieve breakpoint info from language server, language server is not ready.

I already reloaded my VS Code window, what normally fixes issues with breakpoint errors. There is little to find about this error in the internet. Any help would be appreciated.

Edit... I think its related to the Apex language server not being activated since a couple of days.

2
  • I have the same problem, maybe because of the new Winter '24 Major Release (August 26), a day before it was working fine
    – Vneq
    Commented Aug 30, 2023 at 14:32
  • I have a possible workaround. Go to the settings of VS Code and search for "salesforcedx-vscode-apex". Look for the Java: Home entry and paste there the path of your Java jdk. If you dont have Java installed I recommend to download the newest 17 version. @Vneq Commented Aug 30, 2023 at 14:56

1 Answer 1

2

I found out myself how to solve this (with the hint of a colleague).

  1. Go to the settings of VS Code and search for "salesforcedx-vscode-apex".
  2. Look for the Java: Home entry and paste there the path to your Java jdk.
  3. If you dont have Java installed I recommend to download the newest 17 version. Use this path, for example C:\Program Files\Java\jdk-17.
4
  • Thanks it works
    – Vneq
    Commented Sep 4, 2023 at 13:58
  • This worked for me. Note that I had a different jdk version and had to install jdk-17 to get my debugging working again. Commented Sep 5, 2023 at 16:16
  • Didn't work for me... Commented Sep 6, 2023 at 3:36
  • Nb : I posted a topic here, same issue, I still have no answer salesforce.stackexchange.com/questions/409961/… Commented Sep 6, 2023 at 16:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .