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

Apex debugger not showin Variables #5625

Closed
gamatibrightcove opened this issue Jun 5, 2024 · 3 comments
Closed

Apex debugger not showin Variables #5625

gamatibrightcove opened this issue Jun 5, 2024 · 3 comments

Comments

@gamatibrightcove
Copy link

gamatibrightcove commented Jun 5, 2024

Summary

the Apex debugger doesn't highlight anymore the APEX line I placed the breakpoint, and also the 'Step Over' button doesn't seem to move forward.
The Variable section too is empty which infact was really helpful for debugging (see attached Screenshot)

Screenshot 2024-06-05 at 14 43 34

This is my Launch.Json

{
  // Use IntelliSense to learn about possible attributes.
  // Hover to view descriptions of existing attributes.
  // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
  "version": "0.2.0",
  "configurations": [
    
    {
      "name": "Launch Apex Debugger",
      "type": "apex",
      "request": "launch",
      "salesforceProject": "${workspaceRoot}"
    }
  ]
}


Steps To Reproduce:

  1. Use my Launch.json if you like
  2. Have the v60.15.0 of the interactive debugger
  3. open an APEX class with different methods
  4. have Salesforce also open in a sandbox or production
  5. place the breakpoint over an SOQL query (for example) or on a line statement that builds a List for example.

Expected result

I would like to see all the members of the Apex class in the 'Variable' section as soon as I reach an breakpoint. Also the indication of the breakpoint changes depending on the line of code (see screenshots).
Whenever a LIST gets created on the code level, it looks empty in the 'Variable' section.

Actual result

I don't see the 'Variable' section populated anymore, whenever I place a stop within a method of the apex class.

Additional information

Feel free to attach a screenshot.

Salesforce Extension Version in VS Code: V60.15.0

Salesforce CLI Version: salesforce/cli/2.43.7 darwin-arm64 node-v20.13.1

OS and version: SONOMA 14.5

VS Code version: 1.89.1d

Most recent version of the extensions where this was working: I can't remember but definitely before the version 60 of the Salesforce Extention Pack.

@svc-idee-bot
Copy link
Collaborator

Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.

@peternhale
Copy link
Contributor

@gamatibrightcove would you provide the org Id you are using at the moment?

@peternhale
Copy link
Contributor

Same as #5557 closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants