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
Shenniey commented
Set up:
- Download VS Code from here: https://code.visualstudio.com/download
- Download Git from here: https://git-scm.com/
- Copy edge debug adapter extension from here: https://devdiv.visualstudio.com/_apis/resources/Containers/2479344?itemPath=drop&$format=zip
- Install the extension inside VS Code: Open VS Code->View->Command Palette->Extensions:Install from VSIX….
- Install Node.js from here: https://nodejs.org/en/
- Start server in project location
Steps to reproduce: (repro.gif has been attached)
- Open Sample project in VS Code: file->open folder
- Set breakpoint at a given line (in repro.gif, the breakpoint is at line 7 of test.js file aka "abcdef();")
- Debug with Edge and refresh page.
- 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: