microsoft / AL

Home of the Dynamics 365 Business Central AL Language extension for Visual Studio Code. Used to track issues regarding the latest version of the AL compiler and developer tools available in the Visual Studio Code Marketplace or as part of the AL Developer Preview builds for Dynamics 365 Business Central.
MIT License
728 stars 241 forks source link

VSCode Watch does not work for Fields of Record variables #5639

Open daansaveyn opened 4 years ago

daansaveyn commented 4 years ago

Describe the bug When you're debugging an App and you try to add a Watch on a Field of a Record variable, the Watch window shows the Field incorrectly as "Out Of Scope".

To Reproduce See attached GIF below

Expected behavior The Watch window should show the correct Field value by adding the name of the Record variable (as was manually done in the GIF below)

Screenshots Issue Watches

5. Versions:

kalberes commented 4 years ago

These are deficiencies in the VSCode debug adapter protocol we are using, the integration piece in VsCode. Scenarios like this are not really supported for now. We will see what we can do about it, but I would not bet on short term resolution.

DanielGoehler commented 3 years ago

@atoader I think this problem needs some attention. It is still not solved 1 1/2 years after the opening of the issues.

image

jpbagdonas commented 2 years ago

i have just tested the WATCH and as of today using the latest available BC and VS Code version the issue is still there :(