Open virusbear opened 2 months ago
Looks like a mismatch in symbols with your local file and the server file. Maybe clean your symbol cache and download symbols with the snapshot endpoint (snapshot config).
Cleaning the symbols cache was the first thing we tried. Unfortunately, the issue persisted afterward. Download was only done with the snapshot config, as this one is the only configuration available in the launch.json. The extension in question is also only used for debugging and, thus does not contain any objects. We additionally followed the below process, which we usually do when we encounter issues with debugging/symbols in general.
Unfortunately, none of the above options helped with the situation
Please include the following with each issue:
1. Describe the bug When starting a debugging session of a downloaded snapshot using the "AL: Show all snapshots" action, I am represented with the error message
Specified argument was out of range of valid values. (Parameter 'index')
after selecting the wanted snapshot.DebuggerServices_13.0.14.54431.log DebuggerServices_14.0.15.3709.log
2. To Reproduce Steps to reproduce the behavior:
This error is not reproducible for every scenario. This is the first time we were able to observe this issue. We already tried using different installations of VS Code, on Windows 10 and Windows 11 environments. All combinations display the same error.
the above listed app.json is a default extension we internally use for debugging purposes. This extension works in multiple environments, incl. OnPrem and SaaS customers.
3. Expected behavior A debugging session should start, stopping execution at any available and valid breakpoints.
4. Actual behavior Upon loading the debugging session the above listed error message is shown. Any further action cancels the debugging session.
5. Versions:
Final Checklist
Please remember to do the following:
[X] Search the issue repository to ensure you are reporting a new issue
[X] Reproduce the issue after disabling all extensions except the AL Language extension
[X] Simplify your code around the issue to better isolate the problem
Internal work item: AB#538643