Please include the following with each issue:
1. Describe the bug
When a function has a named return variable the value cannot be inspected.
2. To Reproduce
Steps to reproduce the behavior:
- Create code with named return variable.
- Debug code
- inspect via hover/add to watch/debug console
- get out of scope.
internal procedure func() qtyToShip: Decimal
begin
qtyToShip := 2;
end;
3. Expected behavior
Display the variables value.
4. Actual behavior
Displays out of scope
5. Versions:
- AL Language: 17.0.2273547
- Visual Studio Code: 1.130.0
- Business Central: 26
- List of Visual Studio Code extensions that you have installed:
- Operating System:
Final Checklist
Please remember to do the following:
Please include the following with each issue:
1. Describe the bug
When a function has a named return variable the value cannot be inspected.
2. To Reproduce
Steps to reproduce the behavior:
3. Expected behavior
Display the variables value.
4. Actual behavior
Displays out of scope
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