Closed lippertmarkus closed 5 months ago
Note: It also doesn't work with https://marketplace.visualstudio.com/items?itemName=StefanMaron.allanguagelinuxpatcher from @StefanMaron
I noticed that it only works when accessing the codespace with local vs code running on Linux when you have a copy of the repository at the exact same location locally as it is in the codespace
Thanks for the feedback @StefanMaron. Maybe we can get a built-in fix which works everywhere from the AL-Team :)
We do not have proper support for debugging within codespaces. One of the issue being the same file canonicalization issues you have seen. What I can tell you is that it is in the timeline. ETA: "Good question"
Please include the following with each issue:
1. Describe the bug When using GitHub Codespaces and a breakpoint is hit in the AL code, the execution seems to stop correctly (variables and database statistics are available in debug window), but source code isn't shown. Error:
2. To Reproduce Steps to reproduce the behavior:
Example Hello World App: https://github.com/lippertmarkus/MyAlGoRepoAppSource/blob/main/MyApp/HelloWorld.al#L9
3. Expected behavior Source code where the breakpoint was hit should be shown.
4. Actual behavior Error is shown:
Video:
https://github.com/microsoft/AL/assets/1463140/e1537cdd-45aa-4720-a73f-01894816d76b
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