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):

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.
Reproduced with v8.4.0 on macOS. Pinging @nodejs/v8-inspector
I can reproduce on Linux with v6.11.2 but not with v8.4.0.
I can't reproduce on Linux with 8.4 or top of tree, will try Mac later in the day.
Crash log:
#
#
==== C stack trace ===============================
1: V8_Fatal
2: v8::internal::ScopeIterator::ScopeObject()
3: v8::internal::ScopeIterator::MaterializeScopeDetails()
4: 0x1a3e78e
5: v8::internal::Runtime_GetAllScopesDetails(int, v8::internal::Object*, v8::internal::Isolate)
6: 0x19cb8aa060c7
Illegal instruction (core dumped)
I think sysmbol or versions old because I'm same you
This is likely fixed by https://github.com/v8/v8/commit/62b6dd194216e734bbaf98bb144a87bd149a94f5
Actually it was fixed by https://github.com/v8/v8/commit/071b655fa90a3db1f41717f28cb50fe9f2c6db2c more than a year ago.
Most helpful comment
Actually it was fixed by https://github.com/v8/v8/commit/071b655fa90a3db1f41717f28cb50fe9f2c6db2c more than a year ago.