AL icon indicating copy to clipboard operation
AL copied to clipboard

_ALException is <Out of Scope> in Section "Watch"

Open DanielGoehler opened this issue 3 years ago • 0 comments

Please include the following with each issue:

1. Describe the bug You can insert _ALException in the Watch section, but instead of the contents of this variable, <Out of Scope> will be displayed.

2. To Reproduce Steps to reproduce the behavior:

  1. start the debugger and produce an error.
  2. expand Locals in the Variables section
  3. right-click on the variable _ALException and select Add to Watch
image

3. Expected behavior The value should be the error message as in the Variables section.

4. Actual behavior The value is <Out of Scope>.

5. Versions:

  • AL Language: 10.0.687650
  • Visual Studio Code: 1.72.0
  • Business Central: W1 21.0 (Platform 21.0.46384.46844 + Application 21.0.46256.46853)
  • List of Visual Studio Code extensions that you have installed:
  • AL Language

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

DanielGoehler avatar Oct 09 '22 14:10 DanielGoehler