Skip to content

Stepping into function crashes debugger #15075

@oliversalzburg

Description

@oliversalzburg
  • Version: 6.11.2
  • Platform: Windows x64
  • Subsystem: Debugger

Given is the following code:

"use strict"

function main(input) {
  const a = arg => {
    const b = input.find(e => e === arg);
  }
}

main([]);

Assume a setup like this (example uses VS Code):

image

When I hit the breakpoint on line 9 and step into, the debugger crashes 100% of the time.

From what I observe, the issue is specific to the instruction pointer resting on the fat-arrow expression. If a different expression is placed on line 4, the debugger will exit as soon as I step over it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmed-bugIssues with confirmed bugs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions