Skip to content

REPL debugging Proxy bug #8224

Closed
Closed
@Gi60s

Description

@Gi60s

Example Code:

var p = new Proxy([], {});
p[0] = 'abc';
console.log('done');

Problem:

Running in debug mode via node debug index.js, REPL cannot get the value of p, instead outputting illegal access. Getting p[0] or p.length within REPL works.

Additional Notes:

  • Remote debuggers are unable to debug as soon as a new Proxy instance is created. (This might be related to REPL I'm guessing.)
  • I have tried multiple handle configurations for the Proxy. All have produced this same result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    replIssues and PRs related to the REPL subsystem.v8 engineIssues and PRs related to the V8 dependency.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions