-
Notifications
You must be signed in to change notification settings - Fork 405
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
Unable to launch Apex Debugger #722
Comments
@jhuizenga thanks for reporting this. We are aware of it and currently working on a fix. I'll make sure to update this issue to let you know when the fix is going out. |
@jhuizenga could you confirm the following. You're able to deploy and run other commands that interact with the org. Do you get any error message in vscode's Output view or Debug Console view ? I want to make sure the fix we're working on is in fact the same as what you're experiencing. Thanks. |
Thanks for the info @nlrisbell, we were able to find a way to replicate the issue and we're working on getting a fix out. Apologies for the problems this has caused, we'll keep this thread up to date. |
@jhuizenga @nlrisbell we've release the fix for this as part of version 44.7.0 of the extensions. Thanks for being patient and let us know if you run into any other issues. |
That is delightful, @lcampos - thanks for your quick fix!! I am surprised there is not more discussion of this - isn't the Apex Debugger in high use? I see the 44.7.0 extension already - will test now. Fixed! :-) |
Awesome, thanks for confirming it's working for you now. We see more people using the Apex Replay Debugger since Apex Debugger requires a license, so that could be it but please keep opening issues for bugs or feature requests. |
I am having a similar issue with version 44.7.0. I am connected to a Sandbox ORG and I am able to deploy from a project locally to the ORG, however when I am triggering the command SFDX: Turn on Apex debug log for Replay Debugger, I get the following error message: `{"message":"Provided external ID field does not exist or is not accessible: null","status":1,"stack":"NOT_FOUND: Provided external ID field does not exist or is not accessible: null\n at HttpApi.getError (C:\Users\luis_\AppData\Local\sfdx\client\node_modules\jsforce\lib\http-api.js:250:13)\n at C:\Users\luis_\AppData\Local\sfdx\client\node_modules\jsforce\lib\http-api.js:95:22\n at tryCallOne (C:\Users\luis_\AppData\Local\sfdx\client\node_modules\promise\lib\core.js:37:12)\n at C:\Users\luis_\AppData\Local\sfdx\client\node_modules\promise\lib\core.js:123:15\n at flush (C:\Users\luis_\AppData\Local\sfdx\client\node_modules\asap\raw.js:50:29)\n at _combinedTickCallback (internal/process/next_tick.js:131:7)\n at process._tickCallback (internal/process/next_tick.js:180:9)","name":"NOT_FOUND","warnings":["All --json output, including on error, is moving to stdout. Use the SFDX_JSON_TO_STDOUT environment variable to move over to the new functionality. This will become the default in version 45."]} SFDX: Turn On Apex Debug Log for Replay Debugger ended with exit code 1` I am also able to download a debug log from VS Code but launching from the .log downloaded doesn't do anything. This is my launch.json:
07L3C000005c8RgUAI_20181119115110.log is the downloaded log file. |
hi @lflorezcyberark please open a new issue for that since it's unrelated to this one; this was an issue with Apex Debugger and the issue you are experiencing is with Apex Replay Debugger. As part of the new issue add the details you have here and include which version of vscode you are on and operative system you are working with. Thanks. |
@lcampos thnx for fixing this issue. I'm sorry for not replying on this issue earlier.. notifications went to my spam folder without me noticing it. I'll give it a try again today to see if my issue disappeared! |
I can confirm it is working again! 👍 |
Same Launching error appearing in Version 1.54.1 , it keeps loading but nothing happens. |
Hi @lcampos , When I click on Launch Apex Replay debugger, nothing really happens. |
When trying to launch the Apex Debugger from vscode, is does not launch.
I have used the standard configuration as found in the documentation, but is does nothing. I dit create a permissionset en assign it. In our production org I cannot find any information about a session being started/used.
I have used the debugger succesfully a number of times with vscode, but in the past months I have not been able to use it anymore.
Steps To Reproduce:
Expected result
Apex debugger should have been started.
Actual result
The little blue line underneath the button keeps running around:
Details
VS Code Version:
1.28.2 (user setup)
SFDX CLI Version:
sfdx-cli/6.38.0-0d66175ccf (windows-x64) node-v8.9.4
OS and version:
Windows 10 Enterprise
Internal Work Item:
W-5622038
The text was updated successfully, but these errors were encountered: