-
Notifications
You must be signed in to change notification settings - Fork 407
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
Unverified breakpoint in multi-package repo #5951
Comments
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. |
Hello @nkskaare 👋 It looks like you didn't provide all the required basic info in your issue. If you haven't already, please provide the following info: Here's an example of a set of required info that will pass the validation: A few more things to check:
Thank you! |
Hi @nkskaare, After you switch to debugging a different project and then switch back to your original project, are you still seeing this issue, or is this a one-time thing? We'll be happy to help you debug this issue if it's consistently failing. |
This issue has not received a response in 3 days. It will auto-close in 2 days unless a response is posted. |
Yes, this is consistently failing in our project. I also experienced a colleague facing the same issue on a different computer. I am usually working in a remote development container, however he is not. |
From what I could investigate further. The debug console reports the following:
I was able to reproduce the issue by introducing some errors in the sfdx-project.json, like a misplaced comma. However, I'm pretty sure the sfdx-project.json in my original project does not have this error. However, what it does have is some additional properties on the different packages under |
I was actually able to solve it... If the {
"packageDirectories": [
{
"path": "./src/core/package1",
"package": "package1",
"default": true,
"ignoreOnStage": ["validate"],
"versionNumber": "0.1.0.NEXT"
},
|
Summary
Unable to stop at breakpoints with Apex Replay Debugger in a repo with multiple packages defined in sfdx-project.json.
Steps To Reproduce:
Update: Tried reproducing the issue with a simpler project structure than I have in the repo where it is failing, I am currently unable to reproduce, even though I am running in the same devcontainer environment. Any insight into how to further debug this is appreciated.
Expected result
Regular breakpoint, which debugger can be stopped at.
Actual result
Breakpoint is greyed out, saying unverified breakpoint.
Additional information
Salesforce Extension Version in VS Code: v62.5.1
Salesforce CLI Version: @salesforce/cli/2.46.6 linux-x64 node-v18.20.4
OS and version: Ubuntu 22.04.5 LTS (Docker devcontainer)
VS Code version: 1.95.3
Most recent version of the extensions where this was working: v62.5.1 (Unsure. Tried reproducing the issue in the same type of container with a simpler project structure and it worked.)
The text was updated successfully, but these errors were encountered: