vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Internal error: illegal access for variables and watch expressions

Open isidorn opened this issue 10 years ago • 4 comments

  • VSCode Version: alpha
  • OS Version: os x
  • node version: had node 6.2 installed but reverted back to 6.1 and still see this behavior

Steps to Reproduce:

  1. Debug any simple js application
  2. Try to evaluate console in watch or repl -> get an 'Internal error: illegal access'
  3. I also get this error for some variables in the variables view

screen shot 2016-05-25 at 12 53 14

isidorn avatar May 25 '16 10:05 isidorn

Hi gents. Same error here. Windows 8.1, VS Code 1.1.1 + insiders also. vscode

rostacik avatar May 30 '16 14:05 rostacik

@rostacik that's a V8 bug in node 6.x. Our workaround for this problem seems to work for most, but not for all. Until node 6.2.1 arrives the workaround for those that are hit by this is to use node 5.x.

weinand avatar May 30 '16 14:05 weinand

@weinand yes sir, I can confirm that with v4.4.5 VS Code behaves as expected, thanks for quick reply.

rostacik avatar May 30 '16 15:05 rostacik

This problem no longer occurs in node v6.2.1.

weinand avatar Jun 03 '16 13:06 weinand