microsoft/vscode-edge-debug2

Error evaluating getter for 'arguments' and 'caller' show in Debug Console when right clicking on an empty string in variable (the right-click options do not come up at all)

Shenniey opened this issue · 0 comments

Set up:

  1. Download VS Code from here: https://code.visualstudio.com/download
  2. Download Git from here: https://git-scm.com/
  3. Copy edge debug adapter extension from here: https://devdiv.visualstudio.com/_apis/resources/Containers/2479344?itemPath=drop&$format=zip
  4. Install the extension inside VS Code: Open VS Code->View->Command Palette->Extensions:Install from VSIX….
  5. Install Node.js from here: https://nodejs.org/en/
  6. Start server in project location

Steps to reproduce: (repro.gif has been attached)

  1. Open Sample project in VS Code: file->open folder
  2. Set breakpoint at a given line (in repro.gif, the breakpoint is at line 7 of test.js file aka "abcdef();")
  3. Debug with Edge and refresh page.
  4. Right click on an empty string variable ("b" in repro.gif variables, var b = "")

There is no right-click options box that comes up. Additionally, if you click on a valid variable afterwards, you get the debug messages shown in red in the first picture.

More info: It works fine when adding variables like var str = " " (space in double quote)

Actual:

  1. No response after right click empty string.
  2. Error evaluating getter for 'arguments' and 'caller' show in Debug Console.
    image

Expected: The options for variable shows.
image