You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3. Expected behavior
I would expect that I am able to open and load my AL project, allowing me to benefit from IntelliSense, code completion, and other features of the AL extension.
4. Actual behavior
Instead, within ~3 seconds of opening the AL project Visual Studio Code freezes and provides the following error:
5. Versions:
AL Language: 13.0.1027618
Visual Studio Code: 1.90.0
Business Central: 24.0.18037.0
List of Visual Studio Code extensions that you have installed:
AL Language Extension for Microsoft Dynamics 365 Business Central
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
The text was updated successfully, but these errors were encountered:
To help us investigate this, can you answer the following?
Does this reproduce on a specific project/workspace, or all projects?
If it is a specific project, is it particularly large? What is the estimate of the number of application objects in the project?
Do you have a minimal repro project that you can share?
What settings have you enabled for the extension in your settings.json?
Can you share the verbose telemetry logs? To do that, do the following:
In your VSCode settings.json, set "al.editorServicesLogLevel": "Verbose"
Reproduce the scenario
Under the path C:\Users\<username>\.vscode\extensions\ms-dynamics-smb.al-<version>\bin\win32, collect the editorservice.log and debuggerservices.log files.
Project is fairly large with 679 total objects, total project size (including .app dependencies) is 68.2 MB. However, I can successfully open the Base App project (version 23.0.12034.12841) from the DVD without any issues. The Base App is 8363 total objects, total project size (including .app dependencies) is 367 MB). I can open other custom projects and Microsoft projects with various sizes and total objects without issue.
I don't think I have a way to share the project with you, however I did just copy the project to a different location on my C drive and the project loaded successfully when opened via VSCode. Would you have a suggestion based upon that scenario?
The following settings are enabled for the extension:
Attached the EditorServices.log but a debuggerservices.log was not generated upon reproducing the error (see below)
Please include the following with each issue:
1. Describe the bug
![image](https://private-user-images.githubusercontent.com/149503763/337778756-b2b9c72e-9b84-408a-a7cd-bf2bb2d51a55.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEwODkwODUsIm5iZiI6MTcyMTA4ODc4NSwicGF0aCI6Ii8xNDk1MDM3NjMvMzM3Nzc4NzU2LWIyYjljNzJlLTliODQtNDA4YS1hN2NkLWJmMmJiMmQ1MWE1NS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzE2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxNlQwMDEzMDVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01ZGE0YjE5NjhjMTJlZjQyNzI4ZTBiNzgwMTljNjQ4NzQzNmYzZDc0YzU4NDg4NDMyNTYyZWIxYWJjYzc5MzQyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.hnivBBjEn3AnVK62s4Z3t6AAaXBgZGJKsQT5KCibGTw)
When opening an AL project folder I receive the following error:
Using
![image](https://private-user-images.githubusercontent.com/149503763/337778314-c9a7c213-5274-406e-88bf-ea996ad4d474.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEwODkwODUsIm5iZiI6MTcyMTA4ODc4NSwicGF0aCI6Ii8xNDk1MDM3NjMvMzM3Nzc4MzE0LWM5YTdjMjEzLTUyNzQtNDA2ZS04OGJmLWVhOTk2YWQ0ZDQ3NC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzE2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxNlQwMDEzMDVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04OGMzN2MwNzU2NTIyM2Q1YWIyYTgwNzc1YWI2ZjYyZWY3OGYxN2U2ZTlkMjdjNDkzM2Y3YjU0NDY2MzkyYjkzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.8sUeGs77FSeDuPmGe54T6rHJj0eMOEH3gL-z06Obpsk)
Help: Start Extension Bisect
I was able to narrow down the issue to the AL Language Extension for Microsoft Dynamics 365 Business Central:In an attempt to clear any cache files causing issues I deleted all files in the following folders:
C:\Users\%USERPROFILE%\AppData\Roaming\Code\Cache
C:\Users\%USERPROFILE%\AppData\Roaming\Code\CachedData
C:\Users\%USERPROFILE%\AppData\Roaming\Code\CachedExtensions
C:\Users\%USERPROFILE%\AppData\Roaming\Code\CachedExtensionVSIXs
C:\Users\%USERPROFILE%\AppData\Roaming\Code\Code Cache
Inside of
C:\Users\%USERPROFILE%\AppData\Roaming\Code\Crashpad\reports
I found a series of DMPs. I attached two different files that were generated during the crashes so that you may review.05a1701c-56fc-4e52-b120-b5bef21dd499.dmp
3b91a8f1-354f-4a3c-a007-2a3f110879b8.dmp
2. To Reproduce
Steps to reproduce the behavior:
Ctrl+K
,Ctrl+O
to open the target folder3. Expected behavior
I would expect that I am able to open and load my AL project, allowing me to benefit from IntelliSense, code completion, and other features of the AL extension.
4. Actual behavior
![image](https://private-user-images.githubusercontent.com/149503763/337778756-b2b9c72e-9b84-408a-a7cd-bf2bb2d51a55.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEwODkwODUsIm5iZiI6MTcyMTA4ODc4NSwicGF0aCI6Ii8xNDk1MDM3NjMvMzM3Nzc4NzU2LWIyYjljNzJlLTliODQtNDA4YS1hN2NkLWJmMmJiMmQ1MWE1NS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzE2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxNlQwMDEzMDVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01ZGE0YjE5NjhjMTJlZjQyNzI4ZTBiNzgwMTljNjQ4NzQzNmYzZDc0YzU4NDg4NDMyNTYyZWIxYWJjYzc5MzQyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.hnivBBjEn3AnVK62s4Z3t6AAaXBgZGJKsQT5KCibGTw)
Instead, within ~3 seconds of opening the AL project Visual Studio Code freezes and provides the following error:
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
The text was updated successfully, but these errors were encountered: