Closed Devaim1 closed 1 week ago
We'll need more logs to be able to figure out what is going on. Can you do the following?
In your VSCode settings.json, set "al.editorServicesLogLevel": "Verbose"
Reproduce the scenario
Under the path C:\Users\
Share it somehow (again, the file may contain personal information, so be aware about the sharing). (if you are on yammer, you can add the link there in a private message)
Disable the "al.editorServicesLogLevel" since the file can grow really large.
Thanks!
Thank you for taking the time to review this issue. Caught it second try, should be near the end. Please request access and I will grant it to you ASAP. If whatever account you use isn't similar to the one I am talking to currently, please identify your request here. https://drive.google.com/file/d/1CZT0E60M4suKdEhYdBx9HizrkNe_kjd2/view?usp=sharing
tx
What is the status of issue? I'm having similar problems. Sometimes I get this 'Destination is too short' error, but mostly it just stops without any visible reason. I'm using the latest published AL Language extension (13.0.1027618) and trying to debug an online sandbox (24.0) session. This is becoming rather critical as I'm not able to solve a problem in a customer modification because of constant dropping.
yeah me too
Having troubles to live debug through VS Code (dev extension) too, with the same error. It only happens (for me) when the global / local variables are unfolded in the sidebar (so that you can't see their values).
The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 25.0.20517.0 and VS Code Extension Version 14.0.1040866.
If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo
For more details on code branches and docker images please read: https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/ https://freddysblog.com/2020/06/25/working-with-artifacts/
1. Describe the bug Upon debugging and at any further indeterminate point, a crash may occur. Debugger will say:
An error occurred while writing to logger(s). (Destination is too short. (Parameter 'destination'))
The debug console does not say anything out of the ordinary.
2. To Reproduce I am debug/publishing an extension to a Sandbox. Unfortunately, no patterns have been identified for reproduction. It is possible that longer, more complex code will result in a lengthier debug session, and the crash ocurring.
3. Expected behavior Uninterrupted debugging session until user error or completion.
4. Actual behavior Debugger may or may not crash at any given moment.
Subsequently the debugger shuts down.
![Debugger session ended](https://github.com/microsoft/AL/assets/131006852/35690bf5-fb7a-41c7-93c0-623fa9f1408e)
5. Versions:
Final Checklist
Please remember to do the following:
[???] Search the issue repository to ensure you are reporting a new issue
[???] Reproduce the issue after disabling all extensions except the AL Language extension
[???] Simplify your code around the issue to better isolate the problem
Internal work item: AB#535431