GeezerVison is showing github.com — Port "Avoid crashing when converting unknown function offsets to a source location" by Andarist · Pull Request #120 · replayio/node
Conversation
Andarist
commented
Dec 16, 2025
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
ports replayio/chromium-v8#31
- devtools can request
getPointStack for OnPop points when clicking on frames on the call stack
- those have
offset: 0
- that currently crashes the controller
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
bhackett1024
pushed a commit
that referenced
this pull request
Nov 5, 2026
The index reported for an instrumentation site (to
RecordReplayInstrument, RecordReplayAddPossibleBreakpoint and
Target.convertLocationToFunctionOffset) is now a per-function index from
a dedicated counter instead of a bytecode offset, matching Chromium's
V8, so sites that bypass the location-based deduplication, including
generator sites, still get unique indices; VisitCall compares the
counter to detect whether visiting a call's arguments added breakpoints.
Unknown script ids return early through MaybeGetScript instead of
CHECK-failing, and an unknown offset falls back to the position of the
function itself with a diagnostic instead of crashing.
SetStatementPosition now queues its breakpoint instrumentation, which is
written before anything else reaches the bytecode writer and before a
source position is read. When recording or replaying, VisitClassLiteral
takes the pending position inside the class scope and its queued
breakpoints and gives them back after the block context push
(MaybePopSourcePosition/PushSourcePosition, backported from
v8/v8@f74ea020d5d and v8/v8@6a8b90c303b), so a replay paused at the
class token of `var x = class {}` has the class's block context and
reads the enclosing scope's variables from the right context.
Rebase note: breakpoint indices must be unique within a function, so a
new site draws from record_replay_instrumentation_site_counter_, and
every path that writes bytecode, binds a label or handler, or reads a
source position must flush the pending breakpoint queue first. On a V8
that has upstream's MaybePopSourcePosition/PushSourcePosition, take
those and re-apply only the RecordReplay additions.
From #120, #159 and #188.
Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist
added a commit
that referenced
this pull request
Nov 6, 2026
The index reported for an instrumentation site (to
RecordReplayInstrument, RecordReplayAddPossibleBreakpoint and
Target.convertLocationToFunctionOffset) is now a per-function index from
a dedicated counter instead of a bytecode offset, matching Chromium's
V8, so sites that bypass the location-based deduplication, including
generator sites, still get unique indices; VisitCall compares the
counter to detect whether visiting a call's arguments added breakpoints.
Unknown script ids return early through MaybeGetScript instead of
CHECK-failing, and an unknown offset falls back to the position of the
function itself with a diagnostic instead of crashing.
SetStatementPosition now queues its breakpoint instrumentation, which is
written before anything else reaches the bytecode writer and before a
source position is read. When recording or replaying, VisitClassLiteral
takes the pending position inside the class scope and its queued
breakpoints and gives them back after the block context push
(MaybePopSourcePosition/PushSourcePosition, backported from
v8/v8@f74ea020d5d and v8/v8@6a8b90c303b), so a replay paused at the
class token of `var x = class {}` has the class's block context and
reads the enclosing scope's variables from the right context.
Rebase note: breakpoint indices must be unique within a function, so a
new site draws from record_replay_instrumentation_site_counter_, and
every path that writes bytecode, binds a label or handler, or reads a
source position must flush the pending breakpoint queue first. On a V8
that has upstream's MaybePopSourcePosition/PushSourcePosition, take
those and re-apply only the RecordReplay additions.
From #120, #159 and #188.
Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist
added a commit
that referenced
this pull request
Nov 6, 2026
The index reported for an instrumentation site (to
RecordReplayInstrument, RecordReplayAddPossibleBreakpoint and
Target.convertLocationToFunctionOffset) is now a per-function index from
a dedicated counter instead of a bytecode offset, matching Chromium's
V8, so sites that bypass the location-based deduplication, including
generator sites, still get unique indices; VisitCall compares the
counter to detect whether visiting a call's arguments added breakpoints.
Unknown script ids return early through MaybeGetScript instead of
CHECK-failing, and an unknown offset falls back to the position of the
function itself with a diagnostic instead of crashing.
SetStatementPosition now queues its breakpoint instrumentation, which is
written before anything else reaches the bytecode writer and before a
source position is read. When recording or replaying, VisitClassLiteral
takes the pending position inside the class scope and its queued
breakpoints and gives them back after the block context push
(MaybePopSourcePosition/PushSourcePosition, backported from
v8/v8@f74ea020d5d and v8/v8@6a8b90c303b), so a replay paused at the
class token of `var x = class {}` has the class's block context and
reads the enclosing scope's variables from the right context.
Rebase note: breakpoint indices must be unique within a function, so a
new site draws from record_replay_instrumentation_site_counter_, and
every path that writes bytecode, binds a label or handler, or reads a
source position must flush the pending breakpoint queue first. On a V8
that has upstream's MaybePopSourcePosition/PushSourcePosition, take
those and re-apply only the RecordReplay additions.
From #120, #159 and #188.
Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist
added a commit
that referenced
this pull request
Nov 6, 2026
The index reported for an instrumentation site (to
RecordReplayInstrument, RecordReplayAddPossibleBreakpoint and
Target.convertLocationToFunctionOffset) is now a per-function index from
a dedicated counter instead of a bytecode offset, matching Chromium's
V8, so sites that bypass the location-based deduplication, including
generator sites, still get unique indices; VisitCall compares the
counter to detect whether visiting a call's arguments added breakpoints.
Unknown script ids return early through MaybeGetScript instead of
CHECK-failing, and an unknown offset falls back to the position of the
function itself with a diagnostic instead of crashing.
SetStatementPosition now queues its breakpoint instrumentation, which is
written before anything else reaches the bytecode writer and before a
source position is read. When recording or replaying, VisitClassLiteral
takes the pending position inside the class scope and its queued
breakpoints and gives them back after the block context push
(MaybePopSourcePosition/PushSourcePosition, backported from
v8/v8@f74ea020d5d and v8/v8@6a8b90c303b), so a replay paused at the
class token of `var x = class {}` has the class's block context and
reads the enclosing scope's variables from the right context.
Rebase note: breakpoint indices must be unique within a function, so a
new site draws from record_replay_instrumentation_site_counter_, and
every path that writes bytecode, binds a label or handler, or reads a
source position must flush the pending breakpoint queue first. On a V8
that has upstream's MaybePopSourcePosition/PushSourcePosition, take
those and re-apply only the RecordReplay additions.
From #120, #159 and #188.
Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist
added a commit
that referenced
this pull request
Nov 6, 2026
The index reported for an instrumentation site (to
RecordReplayInstrument, RecordReplayAddPossibleBreakpoint and
Target.convertLocationToFunctionOffset) is now a per-function index from
a dedicated counter instead of a bytecode offset, matching Chromium's
V8, so sites that bypass the location-based deduplication, including
generator sites, still get unique indices; VisitCall compares the
counter to detect whether visiting a call's arguments added breakpoints.
Unknown script ids return early through MaybeGetScript instead of
CHECK-failing, and an unknown offset falls back to the position of the
function itself with a diagnostic instead of crashing.
SetStatementPosition now queues its breakpoint instrumentation, which is
written before anything else reaches the bytecode writer and before a
source position is read. When recording or replaying, VisitClassLiteral
takes the pending position inside the class scope and its queued
breakpoints and gives them back after the block context push
(MaybePopSourcePosition/PushSourcePosition, backported from
v8/v8@f74ea020d5d and v8/v8@6a8b90c303b), so a replay paused at the
class token of `var x = class {}` has the class's block context and
reads the enclosing scope's variables from the right context.
Rebase note: breakpoint indices must be unique within a function, so a
new site draws from record_replay_instrumentation_site_counter_, and
every path that writes bytecode, binds a label or handler, or reads a
source position must flush the pending breakpoint queue first. On a V8
that has upstream's MaybePopSourcePosition/PushSourcePosition, take
those and re-apply only the RecordReplay additions.
From #120, #159 and #188.
Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist
added a commit
that referenced
this pull request
Nov 6, 2026
The index reported for an instrumentation site (to
RecordReplayInstrument, RecordReplayAddPossibleBreakpoint and
Target.convertLocationToFunctionOffset) is now a per-function index from
a dedicated counter instead of a bytecode offset, matching Chromium's
V8, so sites that bypass the location-based deduplication, including
generator sites, still get unique indices; VisitCall compares the
counter to detect whether visiting a call's arguments added breakpoints.
Unknown script ids return early through MaybeGetScript instead of
CHECK-failing, and an unknown offset falls back to the position of the
function itself with a diagnostic instead of crashing.
SetStatementPosition now queues its breakpoint instrumentation, which is
written before anything else reaches the bytecode writer and before a
source position is read. When recording or replaying, VisitClassLiteral
takes the pending position inside the class scope and its queued
breakpoints and gives them back after the block context push
(MaybePopSourcePosition/PushSourcePosition, backported from
v8/v8@f74ea020d5d and v8/v8@6a8b90c303b), so a replay paused at the
class token of `var x = class {}` has the class's block context and
reads the enclosing scope's variables from the right context.
Rebase note: breakpoint indices must be unique within a function, so a
new site draws from record_replay_instrumentation_site_counter_, and
every path that writes bytecode, binds a label or handler, or reads a
source position must flush the pending breakpoint queue first. On a V8
that has upstream's MaybePopSourcePosition/PushSourcePosition, take
those and re-apply only the RecordReplay additions.
From #120, #159 and #188.
Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist
added a commit
that referenced
this pull request
Nov 6, 2026
The index reported for an instrumentation site (to
RecordReplayInstrument, RecordReplayAddPossibleBreakpoint and
Target.convertLocationToFunctionOffset) is now a per-function index from
a dedicated counter instead of a bytecode offset, matching Chromium's
V8, so sites that bypass the location-based deduplication, including
generator sites, still get unique indices; VisitCall compares the
counter to detect whether visiting a call's arguments added breakpoints.
Unknown script ids return early through MaybeGetScript instead of
CHECK-failing, and an unknown offset falls back to the position of the
function itself with a diagnostic instead of crashing.
SetStatementPosition now queues its breakpoint instrumentation, which is
written before anything else reaches the bytecode writer and before a
source position is read. When recording or replaying, VisitClassLiteral
takes the pending position inside the class scope and its queued
breakpoints and gives them back after the block context push
(MaybePopSourcePosition/PushSourcePosition, backported from
v8/v8@f74ea020d5d and v8/v8@6a8b90c303b), so a replay paused at the
class token of `var x = class {}` has the class's block context and
reads the enclosing scope's variables from the right context.
Rebase note: breakpoint indices must be unique within a function, so a
new site draws from record_replay_instrumentation_site_counter_, and
every path that writes bytecode, binds a label or handler, or reads a
source position must flush the pending breakpoint queue first. On a V8
that has upstream's MaybePopSourcePosition/PushSourcePosition, take
those and re-apply only the RecordReplay additions.
From #120, #159 and #188.
Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist
added a commit
that referenced
this pull request
Nov 6, 2026
The index reported for an instrumentation site (to
RecordReplayInstrument, RecordReplayAddPossibleBreakpoint and
Target.convertLocationToFunctionOffset) is now a per-function index from
a dedicated counter instead of a bytecode offset, matching Chromium's
V8, so sites that bypass the location-based deduplication, including
generator sites, still get unique indices; VisitCall compares the
counter to detect whether visiting a call's arguments added breakpoints.
Unknown script ids return early through MaybeGetScript instead of
CHECK-failing, and an unknown offset falls back to the position of the
function itself with a diagnostic instead of crashing.
SetStatementPosition now queues its breakpoint instrumentation, which is
written before anything else reaches the bytecode writer and before a
source position is read. When recording or replaying, VisitClassLiteral
takes the pending position inside the class scope and its queued
breakpoints and gives them back after the block context push
(MaybePopSourcePosition/PushSourcePosition, backported from
v8/v8@f74ea020d5d and v8/v8@6a8b90c303b), so a replay paused at the
class token of `var x = class {}` has the class's block context and
reads the enclosing scope's variables from the right context.
Rebase note: breakpoint indices must be unique within a function, so a
new site draws from record_replay_instrumentation_site_counter_, and
every path that writes bytecode, binds a label or handler, or reads a
source position must flush the pending breakpoint queue first. On a V8
that has upstream's MaybePopSourcePosition/PushSourcePosition, take
those and re-apply only the RecordReplay additions.
From #120, #159 and #188.
Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist
added a commit
that referenced
this pull request
Nov 10, 2026
The index reported for an instrumentation site (to
RecordReplayInstrument, RecordReplayAddPossibleBreakpoint and
Target.convertLocationToFunctionOffset) is now a per-function index from
a dedicated counter instead of a bytecode offset, matching Chromium's
V8, so sites that bypass the location-based deduplication, including
generator sites, still get unique indices; VisitCall compares the
counter to detect whether visiting a call's arguments added breakpoints.
Unknown script ids return early through MaybeGetScript instead of
CHECK-failing, and an unknown offset falls back to the position of the
function itself with a diagnostic instead of crashing.
SetStatementPosition now queues its breakpoint instrumentation, which is
written before anything else reaches the bytecode writer and before a
source position is read. When recording or replaying, VisitClassLiteral
takes the pending position inside the class scope and its queued
breakpoints and gives them back after the block context push
(MaybePopSourcePosition/PushSourcePosition, backported from
v8/v8@f74ea020d5d and v8/v8@6a8b90c303b), so a replay paused at the
class token of `var x = class {}` has the class's block context and
reads the enclosing scope's variables from the right context.
Rebase note: breakpoint indices must be unique within a function, so a
new site draws from record_replay_instrumentation_site_counter_, and
every path that writes bytecode, binds a label or handler, or reads a
source position must flush the pending breakpoint queue first. On a V8
that has upstream's MaybePopSourcePosition/PushSourcePosition, take
those and re-apply only the RecordReplay additions.
From #120, #159 and #188.
Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist
added a commit
that referenced
this pull request
Nov 10, 2026
The index reported for an instrumentation site (to
RecordReplayInstrument, RecordReplayAddPossibleBreakpoint and
Target.convertLocationToFunctionOffset) is now a per-function index from
a dedicated counter instead of a bytecode offset, matching Chromium's
V8, so sites that bypass the location-based deduplication, including
generator sites, still get unique indices; VisitCall compares the
counter to detect whether visiting a call's arguments added breakpoints.
Unknown script ids return early through MaybeGetScript instead of
CHECK-failing, and an unknown offset falls back to the position of the
function itself with a diagnostic instead of crashing.
SetStatementPosition now queues its breakpoint instrumentation, which is
written before anything else reaches the bytecode writer and before a
source position is read. When recording or replaying, VisitClassLiteral
takes the pending position inside the class scope and its queued
breakpoints and gives them back after the block context push
(MaybePopSourcePosition/PushSourcePosition, backported from
v8/v8@f74ea020d5d and v8/v8@6a8b90c303b), so a replay paused at the
class token of `var x = class {}` has the class's block context and
reads the enclosing scope's variables from the right context.
Rebase note: breakpoint indices must be unique within a function, so a
new site draws from record_replay_instrumentation_site_counter_, and
every path that writes bytecode, binds a label or handler, or reads a
source position must flush the pending breakpoint queue first. On a V8
that has upstream's MaybePopSourcePosition/PushSourcePosition, take
those and re-apply only the RecordReplay additions.
From #120, #159 and #188.
Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist
added a commit
that referenced
this pull request
Nov 10, 2026
The index reported for an instrumentation site (to
RecordReplayInstrument, RecordReplayAddPossibleBreakpoint and
Target.convertLocationToFunctionOffset) is now a per-function index from
a dedicated counter instead of a bytecode offset, matching Chromium's
V8, so sites that bypass the location-based deduplication, including
generator sites, still get unique indices; VisitCall compares the
counter to detect whether visiting a call's arguments added breakpoints.
Unknown script ids return early through MaybeGetScript instead of
CHECK-failing, and an unknown offset falls back to the position of the
function itself with a diagnostic instead of crashing.
SetStatementPosition now queues its breakpoint instrumentation, which is
written before anything else reaches the bytecode writer and before a
source position is read. When recording or replaying, VisitClassLiteral
takes the pending position inside the class scope and its queued
breakpoints and gives them back after the block context push
(MaybePopSourcePosition/PushSourcePosition, backported from
v8/v8@f74ea020d5d and v8/v8@6a8b90c303b), so a replay paused at the
class token of `var x = class {}` has the class's block context and
reads the enclosing scope's variables from the right context.
Rebase note: breakpoint indices must be unique within a function, so a
new site draws from record_replay_instrumentation_site_counter_, and
every path that writes bytecode, binds a label or handler, or reads a
source position must flush the pending breakpoint queue first. On a V8
that has upstream's MaybePopSourcePosition/PushSourcePosition, take
those and re-apply only the RecordReplay additions.
From #120, #159 and #188.
Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist
added a commit
that referenced
this pull request
Nov 10, 2026
The index reported for an instrumentation site (to
RecordReplayInstrument, RecordReplayAddPossibleBreakpoint and
Target.convertLocationToFunctionOffset) is now a per-function index from
a dedicated counter instead of a bytecode offset, matching Chromium's
V8, so sites that bypass the location-based deduplication, including
generator sites, still get unique indices; VisitCall compares the
counter to detect whether visiting a call's arguments added breakpoints.
Unknown script ids return early through MaybeGetScript instead of
CHECK-failing, and an unknown offset falls back to the position of the
function itself with a diagnostic instead of crashing.
SetStatementPosition now queues its breakpoint instrumentation, which is
written before anything else reaches the bytecode writer and before a
source position is read. When recording or replaying, VisitClassLiteral
takes the pending position inside the class scope and its queued
breakpoints and gives them back after the block context push
(MaybePopSourcePosition/PushSourcePosition, backported from
v8/v8@f74ea020d5d and v8/v8@6a8b90c303b), so a replay paused at the
class token of `var x = class {}` has the class's block context and
reads the enclosing scope's variables from the right context.
Rebase note: breakpoint indices must be unique within a function, so a
new site draws from record_replay_instrumentation_site_counter_, and
every path that writes bytecode, binds a label or handler, or reads a
source position must flush the pending breakpoint queue first. On a V8
that has upstream's MaybePopSourcePosition/PushSourcePosition, take
those and re-apply only the RecordReplay additions.
From #120, #159 and #188.
Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist
added a commit
that referenced
this pull request
Nov 10, 2026
The index reported for an instrumentation site (to
RecordReplayInstrument, RecordReplayAddPossibleBreakpoint and
Target.convertLocationToFunctionOffset) is now a per-function index from
a dedicated counter instead of a bytecode offset, matching Chromium's
V8, so sites that bypass the location-based deduplication, including
generator sites, still get unique indices; VisitCall compares the
counter to detect whether visiting a call's arguments added breakpoints.
Unknown script ids return early through MaybeGetScript instead of
CHECK-failing, and an unknown offset falls back to the position of the
function itself with a diagnostic instead of crashing.
SetStatementPosition now queues its breakpoint instrumentation, which is
written before anything else reaches the bytecode writer and before a
source position is read. When recording or replaying, VisitClassLiteral
takes the pending position inside the class scope and its queued
breakpoints and gives them back after the block context push
(MaybePopSourcePosition/PushSourcePosition, backported from
v8/v8@f74ea020d5d and v8/v8@6a8b90c303b), so a replay paused at the
class token of `var x = class {}` has the class's block context and
reads the enclosing scope's variables from the right context.
Rebase note: breakpoint indices must be unique within a function, so a
new site draws from record_replay_instrumentation_site_counter_, and
every path that writes bytecode, binds a label or handler, or reads a
source position must flush the pending breakpoint queue first. On a V8
that has upstream's MaybePopSourcePosition/PushSourcePosition, take
those and re-apply only the RecordReplay additions.
From #120, #159 and #188.
Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist
added a commit
that referenced
this pull request
Nov 10, 2026
The index reported for an instrumentation site (to
RecordReplayInstrument, RecordReplayAddPossibleBreakpoint and
Target.convertLocationToFunctionOffset) is now a per-function index from
a dedicated counter instead of a bytecode offset, matching Chromium's
V8, so sites that bypass the location-based deduplication, including
generator sites, still get unique indices; VisitCall compares the
counter to detect whether visiting a call's arguments added breakpoints.
Unknown script ids return early through MaybeGetScript instead of
CHECK-failing, and an unknown offset falls back to the position of the
function itself with a diagnostic instead of crashing.
SetStatementPosition now queues its breakpoint instrumentation, which is
written before anything else reaches the bytecode writer and before a
source position is read. When recording or replaying, VisitClassLiteral
takes the pending position inside the class scope and its queued
breakpoints and gives them back after the block context push
(MaybePopSourcePosition/PushSourcePosition, backported from
v8/v8@f74ea020d5d and v8/v8@6a8b90c303b), so a replay paused at the
class token of `var x = class {}` has the class's block context and
reads the enclosing scope's variables from the right context.
Rebase note: breakpoint indices must be unique within a function, so a
new site draws from record_replay_instrumentation_site_counter_, and
every path that writes bytecode, binds a label or handler, or reads a
source position must flush the pending breakpoint queue first. On a V8
that has upstream's MaybePopSourcePosition/PushSourcePosition, take
those and re-apply only the RecordReplay additions.
From #120, #159 and #188.
Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist
added a commit
that referenced
this pull request
Nov 10, 2026
The index reported for an instrumentation site (to
RecordReplayInstrument, RecordReplayAddPossibleBreakpoint and
Target.convertLocationToFunctionOffset) is now a per-function index from
a dedicated counter instead of a bytecode offset, matching Chromium's
V8, so sites that bypass the location-based deduplication, including
generator sites, still get unique indices; VisitCall compares the
counter to detect whether visiting a call's arguments added breakpoints.
Unknown script ids return early through MaybeGetScript instead of
CHECK-failing, and an unknown offset falls back to the position of the
function itself with a diagnostic instead of crashing.
SetStatementPosition now queues its breakpoint instrumentation, which is
written before anything else reaches the bytecode writer and before a
source position is read. When recording or replaying, VisitClassLiteral
takes the pending position inside the class scope and its queued
breakpoints and gives them back after the block context push
(MaybePopSourcePosition/PushSourcePosition, backported from
v8/v8@f74ea020d5d and v8/v8@6a8b90c303b), so a replay paused at the
class token of `var x = class {}` has the class's block context and
reads the enclosing scope's variables from the right context.
Rebase note: breakpoint indices must be unique within a function, so a
new site draws from record_replay_instrumentation_site_counter_, and
every path that writes bytecode, binds a label or handler, or reads a
source position must flush the pending breakpoint queue first. On a V8
that has upstream's MaybePopSourcePosition/PushSourcePosition, take
those and re-apply only the RecordReplay additions.
From #120, #159 and #188.
Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist
added a commit
that referenced
this pull request
Nov 10, 2026
The index reported for an instrumentation site (to
RecordReplayInstrument, RecordReplayAddPossibleBreakpoint and
Target.convertLocationToFunctionOffset) is now a per-function index from
a dedicated counter instead of a bytecode offset, matching Chromium's
V8, so sites that bypass the location-based deduplication, including
generator sites, still get unique indices; VisitCall compares the
counter to detect whether visiting a call's arguments added breakpoints.
Unknown script ids return early through MaybeGetScript instead of
CHECK-failing, and an unknown offset falls back to the position of the
function itself with a diagnostic instead of crashing.
SetStatementPosition now queues its breakpoint instrumentation, which is
written before anything else reaches the bytecode writer and before a
source position is read. When recording or replaying, VisitClassLiteral
takes the pending position inside the class scope and its queued
breakpoints and gives them back after the block context push
(MaybePopSourcePosition/PushSourcePosition, backported from
v8/v8@f74ea020d5d and v8/v8@6a8b90c303b), so a replay paused at the
class token of `var x = class {}` has the class's block context and
reads the enclosing scope's variables from the right context.
Rebase note: breakpoint indices must be unique within a function, so a
new site draws from record_replay_instrumentation_site_counter_, and
every path that writes bytecode, binds a label or handler, or reads a
source position must flush the pending breakpoint queue first. On a V8
that has upstream's MaybePopSourcePosition/PushSourcePosition, take
those and re-apply only the RecordReplay additions.
From #120, #159 and #188.
Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist
added a commit
that referenced
this pull request
Nov 10, 2026
The index reported for an instrumentation site (to
RecordReplayInstrument, RecordReplayAddPossibleBreakpoint and
Target.convertLocationToFunctionOffset) is now a per-function index from
a dedicated counter instead of a bytecode offset, matching Chromium's
V8, so sites that bypass the location-based deduplication, including
generator sites, still get unique indices; VisitCall compares the
counter to detect whether visiting a call's arguments added breakpoints.
Unknown script ids return early through MaybeGetScript instead of
CHECK-failing, and an unknown offset falls back to the position of the
function itself with a diagnostic instead of crashing.
SetStatementPosition now queues its breakpoint instrumentation, which is
written before anything else reaches the bytecode writer and before a
source position is read. When recording or replaying, VisitClassLiteral
takes the pending position inside the class scope and its queued
breakpoints and gives them back after the block context push
(MaybePopSourcePosition/PushSourcePosition, backported from
v8/v8@f74ea020d5d and v8/v8@6a8b90c303b), so a replay paused at the
class token of `var x = class {}` has the class's block context and
reads the enclosing scope's variables from the right context.
Rebase note: breakpoint indices must be unique within a function, so a
new site draws from record_replay_instrumentation_site_counter_, and
every path that writes bytecode, binds a label or handler, or reads a
source position must flush the pending breakpoint queue first. On a V8
that has upstream's MaybePopSourcePosition/PushSourcePosition, take
those and re-apply only the RecordReplay additions.
From #120, #159 and #188.
Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist
added a commit
that referenced
this pull request
Nov 10, 2026
The index reported for an instrumentation site (to
RecordReplayInstrument, RecordReplayAddPossibleBreakpoint and
Target.convertLocationToFunctionOffset) is now a per-function index from
a dedicated counter instead of a bytecode offset, matching Chromium's
V8, so sites that bypass the location-based deduplication, including
generator sites, still get unique indices; VisitCall compares the
counter to detect whether visiting a call's arguments added breakpoints.
Unknown script ids return early through MaybeGetScript instead of
CHECK-failing, and an unknown offset falls back to the position of the
function itself with a diagnostic instead of crashing.
SetStatementPosition now queues its breakpoint instrumentation, which is
written before anything else reaches the bytecode writer and before a
source position is read. When recording or replaying, VisitClassLiteral
takes the pending position inside the class scope and its queued
breakpoints and gives them back after the block context push
(MaybePopSourcePosition/PushSourcePosition, backported from
v8/v8@f74ea020d5d and v8/v8@6a8b90c303b), so a replay paused at the
class token of `var x = class {}` has the class's block context and
reads the enclosing scope's variables from the right context.
Rebase note: breakpoint indices must be unique within a function, so a
new site draws from record_replay_instrumentation_site_counter_, and
every path that writes bytecode, binds a label or handler, or reads a
source position must flush the pending breakpoint queue first. On a V8
that has upstream's MaybePopSourcePosition/PushSourcePosition, take
those and re-apply only the RecordReplay additions.
From #120, #159 and #188.
Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist
added a commit
that referenced
this pull request
Nov 10, 2026
The index reported for an instrumentation site (to
RecordReplayInstrument, RecordReplayAddPossibleBreakpoint and
Target.convertLocationToFunctionOffset) is now a per-function index from
a dedicated counter instead of a bytecode offset, matching Chromium's
V8, so sites that bypass the location-based deduplication, including
generator sites, still get unique indices; VisitCall compares the
counter to detect whether visiting a call's arguments added breakpoints.
Unknown script ids return early through MaybeGetScript instead of
CHECK-failing, and an unknown offset falls back to the position of the
function itself with a diagnostic instead of crashing.
SetStatementPosition now queues its breakpoint instrumentation, which is
written before anything else reaches the bytecode writer and before a
source position is read. When recording or replaying, VisitClassLiteral
takes the pending position inside the class scope and its queued
breakpoints and gives them back after the block context push
(MaybePopSourcePosition/PushSourcePosition, backported from
v8/v8@f74ea020d5d and v8/v8@6a8b90c303b), so a replay paused at the
class token of `var x = class {}` has the class's block context and
reads the enclosing scope's variables from the right context.
Rebase note: breakpoint indices must be unique within a function, so a
new site draws from record_replay_instrumentation_site_counter_, and
every path that writes bytecode, binds a label or handler, or reads a
source position must flush the pending breakpoint queue first. On a V8
that has upstream's MaybePopSourcePosition/PushSourcePosition, take
those and re-apply only the RecordReplay additions.
From #120, #159 and #188.
Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist
added a commit
that referenced
this pull request
Nov 10, 2026
The index reported for an instrumentation site (to
RecordReplayInstrument, RecordReplayAddPossibleBreakpoint and
Target.convertLocationToFunctionOffset) is now a per-function index from
a dedicated counter instead of a bytecode offset, matching Chromium's
V8, so sites that bypass the location-based deduplication, including
generator sites, still get unique indices; VisitCall compares the
counter to detect whether visiting a call's arguments added breakpoints.
Unknown script ids return early through MaybeGetScript instead of
CHECK-failing, and an unknown offset falls back to the position of the
function itself with a diagnostic instead of crashing.
SetStatementPosition now queues its breakpoint instrumentation, which is
written before anything else reaches the bytecode writer and before a
source position is read. When recording or replaying, VisitClassLiteral
takes the pending position inside the class scope and its queued
breakpoints and gives them back after the block context push
(MaybePopSourcePosition/PushSourcePosition, backported from
v8/v8@f74ea020d5d and v8/v8@6a8b90c303b), so a replay paused at the
class token of `var x = class {}` has the class's block context and
reads the enclosing scope's variables from the right context.
Rebase note: breakpoint indices must be unique within a function, so a
new site draws from record_replay_instrumentation_site_counter_, and
every path that writes bytecode, binds a label or handler, or reads a
source position must flush the pending breakpoint queue first. On a V8
that has upstream's MaybePopSourcePosition/PushSourcePosition, take
those and re-apply only the RecordReplay additions.
From #120, #159 and #188.
Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist
added a commit
that referenced
this pull request
Nov 10, 2026
The index reported for an instrumentation site (to
RecordReplayInstrument, RecordReplayAddPossibleBreakpoint and
Target.convertLocationToFunctionOffset) is now a per-function index from
a dedicated counter instead of a bytecode offset, matching Chromium's
V8, so sites that bypass the location-based deduplication, including
generator sites, still get unique indices; VisitCall compares the
counter to detect whether visiting a call's arguments added breakpoints.
Unknown script ids return early through MaybeGetScript instead of
CHECK-failing, and an unknown offset falls back to the position of the
function itself with a diagnostic instead of crashing.
SetStatementPosition now queues its breakpoint instrumentation, which is
written before anything else reaches the bytecode writer and before a
source position is read. When recording or replaying, VisitClassLiteral
takes the pending position inside the class scope and its queued
breakpoints and gives them back after the block context push
(MaybePopSourcePosition/PushSourcePosition, backported from
v8/v8@f74ea020d5d and v8/v8@6a8b90c303b), so a replay paused at the
class token of `var x = class {}` has the class's block context and
reads the enclosing scope's variables from the right context.
Rebase note: breakpoint indices must be unique within a function, so a
new site draws from record_replay_instrumentation_site_counter_, and
every path that writes bytecode, binds a label or handler, or reads a
source position must flush the pending breakpoint queue first. On a V8
that has upstream's MaybePopSourcePosition/PushSourcePosition, take
those and re-apply only the RecordReplay additions.
From #120, #159 and #188.
Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist
added a commit
that referenced
this pull request
Nov 10, 2026
The index reported for an instrumentation site (to
RecordReplayInstrument, RecordReplayAddPossibleBreakpoint and
Target.convertLocationToFunctionOffset) is now a per-function index from
a dedicated counter instead of a bytecode offset, matching Chromium's
V8, so sites that bypass the location-based deduplication, including
generator sites, still get unique indices; VisitCall compares the
counter to detect whether visiting a call's arguments added breakpoints.
Unknown script ids return early through MaybeGetScript instead of
CHECK-failing, and an unknown offset falls back to the position of the
function itself with a diagnostic instead of crashing.
SetStatementPosition now queues its breakpoint instrumentation, which is
written before anything else reaches the bytecode writer and before a
source position is read. When recording or replaying, VisitClassLiteral
takes the pending position inside the class scope and its queued
breakpoints and gives them back after the block context push
(MaybePopSourcePosition/PushSourcePosition, backported from
v8/v8@f74ea020d5d and v8/v8@6a8b90c303b), so a replay paused at the
class token of `var x = class {}` has the class's block context and
reads the enclosing scope's variables from the right context.
Rebase note: breakpoint indices must be unique within a function, so a
new site draws from record_replay_instrumentation_site_counter_, and
every path that writes bytecode, binds a label or handler, or reads a
source position must flush the pending breakpoint queue first. On a V8
that has upstream's MaybePopSourcePosition/PushSourcePosition, take
those and re-apply only the RecordReplay additions.
From #120, #159 and #188.
Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist
added a commit
that referenced
this pull request
Nov 10, 2026
The index reported for an instrumentation site (to
RecordReplayInstrument, RecordReplayAddPossibleBreakpoint and
Target.convertLocationToFunctionOffset) is now a per-function index from
a dedicated counter instead of a bytecode offset, matching Chromium's
V8, so sites that bypass the location-based deduplication, including
generator sites, still get unique indices; VisitCall compares the
counter to detect whether visiting a call's arguments added breakpoints.
Unknown script ids return early through MaybeGetScript instead of
CHECK-failing, and an unknown offset falls back to the position of the
function itself with a diagnostic instead of crashing.
SetStatementPosition now queues its breakpoint instrumentation, which is
written before anything else reaches the bytecode writer and before a
source position is read. When recording or replaying, VisitClassLiteral
takes the pending position inside the class scope and its queued
breakpoints and gives them back after the block context push
(MaybePopSourcePosition/PushSourcePosition, backported from
v8/v8@f74ea020d5d and v8/v8@6a8b90c303b), so a replay paused at the
class token of `var x = class {}` has the class's block context and
reads the enclosing scope's variables from the right context.
Rebase note: breakpoint indices must be unique within a function, so a
new site draws from record_replay_instrumentation_site_counter_, and
every path that writes bytecode, binds a label or handler, or reads a
source position must flush the pending breakpoint queue first. On a V8
that has upstream's MaybePopSourcePosition/PushSourcePosition, take
those and re-apply only the RecordReplay additions.
From #120, #159 and #188.
Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist
added a commit
that referenced
this pull request
Nov 10, 2026
The index reported for an instrumentation site (to
RecordReplayInstrument, RecordReplayAddPossibleBreakpoint and
Target.convertLocationToFunctionOffset) is now a per-function index from
a dedicated counter instead of a bytecode offset, matching Chromium's
V8, so sites that bypass the location-based deduplication, including
generator sites, still get unique indices; VisitCall compares the
counter to detect whether visiting a call's arguments added breakpoints.
Unknown script ids return early through MaybeGetScript instead of
CHECK-failing, and an unknown offset falls back to the position of the
function itself with a diagnostic instead of crashing.
SetStatementPosition now queues its breakpoint instrumentation, which is
written before anything else reaches the bytecode writer and before a
source position is read. When recording or replaying, VisitClassLiteral
takes the pending position inside the class scope and its queued
breakpoints and gives them back after the block context push
(MaybePopSourcePosition/PushSourcePosition, backported from
v8/v8@f74ea020d5d and v8/v8@6a8b90c303b), so a replay paused at the
class token of `var x = class {}` has the class's block context and
reads the enclosing scope's variables from the right context.
Rebase note: breakpoint indices must be unique within a function, so a
new site draws from record_replay_instrumentation_site_counter_, and
every path that writes bytecode, binds a label or handler, or reads a
source position must flush the pending breakpoint queue first. On a V8
that has upstream's MaybePopSourcePosition/PushSourcePosition, take
those and re-apply only the RecordReplay additions.
From #120, #159 and #188.
Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist
added a commit
that referenced
this pull request
Nov 10, 2026
The index reported for an instrumentation site (to
RecordReplayInstrument, RecordReplayAddPossibleBreakpoint and
Target.convertLocationToFunctionOffset) is now a per-function index from
a dedicated counter instead of a bytecode offset, matching Chromium's
V8, so sites that bypass the location-based deduplication, including
generator sites, still get unique indices; VisitCall compares the
counter to detect whether visiting a call's arguments added breakpoints.
Unknown script ids return early through MaybeGetScript instead of
CHECK-failing, and an unknown offset falls back to the position of the
function itself with a diagnostic instead of crashing.
SetStatementPosition now queues its breakpoint instrumentation, which is
written before anything else reaches the bytecode writer and before a
source position is read. When recording or replaying, VisitClassLiteral
takes the pending position inside the class scope and its queued
breakpoints and gives them back after the block context push
(MaybePopSourcePosition/PushSourcePosition, backported from
v8/v8@f74ea020d5d and v8/v8@6a8b90c303b), so a replay paused at the
class token of `var x = class {}` has the class's block context and
reads the enclosing scope's variables from the right context.
Rebase note: breakpoint indices must be unique within a function, so a
new site draws from record_replay_instrumentation_site_counter_, and
every path that writes bytecode, binds a label or handler, or reads a
source position must flush the pending breakpoint queue first. On a V8
that has upstream's MaybePopSourcePosition/PushSourcePosition, take
those and re-apply only the RecordReplay additions.
From #120, #159 and #188.
Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist
added a commit
that referenced
this pull request
Nov 10, 2026
The index reported for an instrumentation site (to
RecordReplayInstrument, RecordReplayAddPossibleBreakpoint and
Target.convertLocationToFunctionOffset) is now a per-function index from
a dedicated counter instead of a bytecode offset, matching Chromium's
V8, so sites that bypass the location-based deduplication, including
generator sites, still get unique indices; VisitCall compares the
counter to detect whether visiting a call's arguments added breakpoints.
Unknown script ids return early through MaybeGetScript instead of
CHECK-failing, and an unknown offset falls back to the position of the
function itself with a diagnostic instead of crashing.
SetStatementPosition now queues its breakpoint instrumentation, which is
written before anything else reaches the bytecode writer and before a
source position is read. When recording or replaying, VisitClassLiteral
takes the pending position inside the class scope and its queued
breakpoints and gives them back after the block context push
(MaybePopSourcePosition/PushSourcePosition, backported from
v8/v8@f74ea020d5d and v8/v8@6a8b90c303b), so a replay paused at the
class token of `var x = class {}` has the class's block context and
reads the enclosing scope's variables from the right context.
Rebase note: breakpoint indices must be unique within a function, so a
new site draws from record_replay_instrumentation_site_counter_, and
every path that writes bytecode, binds a label or handler, or reads a
source position must flush the pending breakpoint queue first. On a V8
that has upstream's MaybePopSourcePosition/PushSourcePosition, take
those and re-apply only the RecordReplay additions.
From #120, #159 and #188.
Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist
added a commit
that referenced
this pull request
Nov 10, 2026
The index reported for an instrumentation site (to
RecordReplayInstrument, RecordReplayAddPossibleBreakpoint and
Target.convertLocationToFunctionOffset) is now a per-function index from
a dedicated counter instead of a bytecode offset, matching Chromium's
V8, so sites that bypass the location-based deduplication, including
generator sites, still get unique indices; VisitCall compares the
counter to detect whether visiting a call's arguments added breakpoints.
Unknown script ids return early through MaybeGetScript instead of
CHECK-failing, and an unknown offset falls back to the position of the
function itself with a diagnostic instead of crashing.
SetStatementPosition now queues its breakpoint instrumentation, which is
written before anything else reaches the bytecode writer and before a
source position is read. When recording or replaying, VisitClassLiteral
takes the pending position inside the class scope and its queued
breakpoints and gives them back after the block context push
(MaybePopSourcePosition/PushSourcePosition, backported from
v8/v8@f74ea020d5d and v8/v8@6a8b90c303b), so a replay paused at the
class token of `var x = class {}` has the class's block context and
reads the enclosing scope's variables from the right context.
Rebase note: breakpoint indices must be unique within a function, so a
new site draws from record_replay_instrumentation_site_counter_, and
every path that writes bytecode, binds a label or handler, or reads a
source position must flush the pending breakpoint queue first. On a V8
that has upstream's MaybePopSourcePosition/PushSourcePosition, take
those and re-apply only the RecordReplay additions.
From #120, #159 and #188.
Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist
added a commit
that referenced
this pull request
Nov 11, 2026
The index reported for an instrumentation site (to
RecordReplayInstrument, RecordReplayAddPossibleBreakpoint and
Target.convertLocationToFunctionOffset) is now a per-function index from
a dedicated counter instead of a bytecode offset, matching Chromium's
V8, so sites that bypass the location-based deduplication, including
generator sites, still get unique indices; VisitCall compares the
counter to detect whether visiting a call's arguments added breakpoints.
Unknown script ids return early through MaybeGetScript instead of
CHECK-failing, and an unknown offset falls back to the position of the
function itself with a diagnostic instead of crashing.
SetStatementPosition now queues its breakpoint instrumentation, which is
written before anything else reaches the bytecode writer and before a
source position is read. When recording or replaying, VisitClassLiteral
takes the pending position inside the class scope and its queued
breakpoints and gives them back after the block context push
(MaybePopSourcePosition/PushSourcePosition, backported from
v8/v8@f74ea020d5d and v8/v8@6a8b90c303b), so a replay paused at the
class token of `var x = class {}` has the class's block context and
reads the enclosing scope's variables from the right context.
Rebase note: breakpoint indices must be unique within a function, so a
new site draws from record_replay_instrumentation_site_counter_, and
every path that writes bytecode, binds a label or handler, or reads a
source position must flush the pending breakpoint queue first. On a V8
that has upstream's MaybePopSourcePosition/PushSourcePosition, take
those and re-apply only the RecordReplay additions.
From #120, #159 and #188.
Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist
added a commit
that referenced
this pull request
Nov 11, 2026
The index reported for an instrumentation site (to
RecordReplayInstrument, RecordReplayAddPossibleBreakpoint and
Target.convertLocationToFunctionOffset) is now a per-function index from
a dedicated counter instead of a bytecode offset, matching Chromium's
V8, so sites that bypass the location-based deduplication, including
generator sites, still get unique indices; VisitCall compares the
counter to detect whether visiting a call's arguments added breakpoints.
Unknown script ids return early through MaybeGetScript instead of
CHECK-failing, and an unknown offset falls back to the position of the
function itself with a diagnostic instead of crashing.
SetStatementPosition now queues its breakpoint instrumentation, which is
written before anything else reaches the bytecode writer and before a
source position is read. When recording or replaying, VisitClassLiteral
takes the pending position inside the class scope and its queued
breakpoints and gives them back after the block context push
(MaybePopSourcePosition/PushSourcePosition, backported from
v8/v8@f74ea020d5d and v8/v8@6a8b90c303b), so a replay paused at the
class token of `var x = class {}` has the class's block context and
reads the enclosing scope's variables from the right context.
Rebase note: breakpoint indices must be unique within a function, so a
new site draws from record_replay_instrumentation_site_counter_, and
every path that writes bytecode, binds a label or handler, or reads a
source position must flush the pending breakpoint queue first. On a V8
that has upstream's MaybePopSourcePosition/PushSourcePosition, take
those and re-apply only the RecordReplay additions.
From #120, #159 and #188.
Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist
added a commit
that referenced
this pull request
Nov 11, 2026
The index reported for an instrumentation site (to
RecordReplayInstrument, RecordReplayAddPossibleBreakpoint and
Target.convertLocationToFunctionOffset) is now a per-function index from
a dedicated counter instead of a bytecode offset, matching Chromium's
V8, so sites that bypass the location-based deduplication, including
generator sites, still get unique indices; VisitCall compares the
counter to detect whether visiting a call's arguments added breakpoints.
Unknown script ids return early through MaybeGetScript instead of
CHECK-failing, and an unknown offset falls back to the position of the
function itself with a diagnostic instead of crashing.
SetStatementPosition now queues its breakpoint instrumentation, which is
written before anything else reaches the bytecode writer and before a
source position is read. When recording or replaying, VisitClassLiteral
takes the pending position inside the class scope and its queued
breakpoints and gives them back after the block context push
(MaybePopSourcePosition/PushSourcePosition, backported from
v8/v8@f74ea020d5d and v8/v8@6a8b90c303b), so a replay paused at the
class token of `var x = class {}` has the class's block context and
reads the enclosing scope's variables from the right context.
Rebase note: breakpoint indices must be unique within a function, so a
new site draws from record_replay_instrumentation_site_counter_, and
every path that writes bytecode, binds a label or handler, or reads a
source position must flush the pending breakpoint queue first. On a V8
that has upstream's MaybePopSourcePosition/PushSourcePosition, take
those and re-apply only the RecordReplay additions.
From #120, #159 and #188.
Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist
added a commit
that referenced
this pull request
Nov 12, 2026
The index reported for an instrumentation site (to
RecordReplayInstrument, RecordReplayAddPossibleBreakpoint and
Target.convertLocationToFunctionOffset) is now a per-function index from
a dedicated counter instead of a bytecode offset, matching Chromium's
V8, so sites that bypass the location-based deduplication, including
generator sites, still get unique indices; VisitCall compares the
counter to detect whether visiting a call's arguments added breakpoints.
Unknown script ids return early through MaybeGetScript instead of
CHECK-failing, and an unknown offset falls back to the position of the
function itself with a diagnostic instead of crashing.
SetStatementPosition now queues its breakpoint instrumentation, which is
written before anything else reaches the bytecode writer and before a
source position is read. When recording or replaying, VisitClassLiteral
takes the pending position inside the class scope and its queued
breakpoints and gives them back after the block context push
(MaybePopSourcePosition/PushSourcePosition, backported from
v8/v8@f74ea020d5d and v8/v8@6a8b90c303b), so a replay paused at the
class token of `var x = class {}` has the class's block context and
reads the enclosing scope's variables from the right context.
Rebase note: breakpoint indices must be unique within a function, so a
new site draws from record_replay_instrumentation_site_counter_, and
every path that writes bytecode, binds a label or handler, or reads a
source position must flush the pending breakpoint queue first. On a V8
that has upstream's MaybePopSourcePosition/PushSourcePosition, take
those and re-apply only the RecordReplay additions.
From #120, #159 and #188.
Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|