Skip to content

Getting ._handle through --inspect with chrome developer tools crashes Node.js #16949

Closed
@sboys3

Description

@sboys3
  • Version: 8.9.1
  • Platform: 64 bit windows

If you try to get the value of ._handle through chrome devtools using the --inspect flag Node.js will crash with the error:
C:\Program Files\nodejs\node.exe: c:\ws\src\util-inl.h:243: Assertion (object->InternalFieldCount()) > (0)' failed.
For example entering process.stdin._handle or http.createServer().listen()._handle will crash Node.js. If you try to inspect process.stdin or someting else with a .handle and you expand it in devtool it will crash Node.js as well.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    c++Issues and PRs that require attention from people who are familiar with C++.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions