Skip to content

Snapshot Debugging: VS Code "Specified argument was out of the range of valid values. (Parameter 'index')" #7116

@SaschaM-Dev

Description

@SaschaM-Dev

1. Describe the bug

  • When the download of a Snapshot (.zip) has been finished and you want to start the debugging session a Visual Studio Code window appearears after a while that contains the error message "Specified argument was out of the range of valid values. (Parameter 'index')".

2. To Reproduce
Steps to reproduce the behavior:

  1. Have the latest Visual Studio Code "AL"-extension installed
  2. Initialize a Snapshot
  3. Finisch (Download) the Snapshot
  4. Start the Debugging (bottom left debugging symbol).

Each of those steps do NOT work with VS Code for Windows or macOS.
It works however with the old AL Language Extension 8.3.570094 (tested!). So it's a bug somewhere in a newer verison than 8.3.570094.

3. Expected behavior
The Debugger should jump into the code.

4. Actual behavior
Error Message "Specified argument was out of the range of valid values. (Parameter 'index')".

5. Versions:

  • AL Language: v9.3.646020
  • Visual Studio Code: Version: 1.69.1
  • Business Central: 20.2.41144.41547
  • List of Visual Studio Code extensions that you have installed: AL Language

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions