Skip to main content
Brian Wintz ha fatto una domanda in #Trailhead Challenges

I am trying to complete the Debug Your Code challenge but when I get to the step to run SFDX: Update Checkpoints in Org I'm getting the following errors in my output:

 

SFDX: Update Checkpoints in Org, Step 2 of 6: Retrieving source and line information

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

Ending SFDX: Update Checkpoints in Org

Your checkpoints have errors. Fix the errors listed in the output, then run SFDX: Update Checkpoints in Org again.

 

I also see that I have the following problem being reported for ApexLSP:

 

Error: {"errno":-4047,"code":"EPIPE","syscall":"write"} undefined

 

I tried starting up a new trailhead playground, but I am still seeing this issue.  Based on this reported issue (although the error is different), I also verified that my directory path doesn't contain any unsupported characters, such as blanks, but I'm not able to get this to work.

 

Has anyone else encountered this issue and found a way to fix it?

 

#Trailhead Challenges  #Trailhead

8 risposte
  1. 3 set 2023, 21:49

    Hi ,

     

    I couldn't find a working example for jdk1.8.

     

    The Apex Language Server, shipped as part of the Salesforce Apex Extension for VS Code, depends on the Java Platform, Standard Edition Development Kit (JDK). It requires an installation of either JDK version 17 (Recommended), JDK version 11, or JDK version 8. 

     

    https://developer.salesforce.com/tools/vscode/en/vscode-desktop/java-setup

0/9000