Skip to content

can not step in constructor, will will terminate node.exe #4307

@flyingcodes

Description

@flyingcodes

i report the bug to Microsoft/vscode in microsoft/vscode#953. then, They reply the bug is caused by node.js.

1
2
3

class CA {
    constructor(){      
    }   
}

class CB extends CA {
    constructor(p){
        super(p);
    }
}


var cb = null; // debugger pointer
//cb = new CB(123); // can not step in, will terminate node.exe
cb = new CB(); // step in, then follow line can step in, else can not
cb = new CB(123); // can step in if above is step in
console.log(cb); 

[fixed fomatting - bnoordhuis]

Metadata

Metadata

Assignees

No one assigned

    Labels

    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